Does a plugin catalog exist?
I am about to attempt to extend the functionality of swagger-ui but before I do I want to find if someone else has written something similar.
Whilst I can find documentation on the plugin API I can't find any catalog of know plugins and/or how to search some other site for them.
I checked the github issues but could not find anything relevant.
(As an example I'm looking for if anyone has done anything about accessing spec files with authentication)
There's no offical plugin catalog from what I know, but here are some plugins previously posted in the issue tracker:
host, basePath, and schemes for OAS2 definitions: https://github.com/swagger-api/swagger-ui/issues/5981info.description: https://github.com/swagger-api/swagger-ui/issues/5267#issuecomment-653756972servers: https://github.com/shockey/swagger-ui-plugins/tree/master/packages/disable-try-it-out-without-servers<iframe> in the Responses section: https://github.com/swagger-api/swagger-ui/issues/4806#issuecomment-413373793I'm looking for if anyone has done anything about accessing spec files with authentication
This can be done by using the requestInterceptor option. Here's an example of loading a spec protected by Basic auth.
Thanks for the pointers. Looks really useful. 馃憤
I was expecting to see some plugins packaged up on npm but it seems these are usually small snippets of code added via the plugin mechanism. This probably explains why I struggled to find them at first.
Closing due to inactivity.
This is simply to keep our issue tracker clean - feel free to comment if there are any further thoughts or concerns, and we'll be happy to reopen this issue.
Also, note that I linked to this issue from my Swagger UI plugin repo - I'm doing work there to ship plugins to npm, and create a template for future plugins.
(for future readers)
Also, note that I linked to this issue from my Swagger UI plugin repo - I'm doing work there to ship plugins to npm, and create a template for future plugins.
Most helpful comment
There's no offical plugin catalog from what I know, but here are some plugins previously posted in the issue tracker:
host,basePath, andschemesfor OAS2 definitions: https://github.com/swagger-api/swagger-ui/issues/5981info.description: https://github.com/swagger-api/swagger-ui/issues/5267#issuecomment-653756972servers: https://github.com/shockey/swagger-ui-plugins/tree/master/packages/disable-try-it-out-without-servers<iframe>in the Responses section: https://github.com/swagger-api/swagger-ui/issues/4806#issuecomment-413373793