Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin catalog ? #5027

Closed
ChristopherHackett opened this issue Nov 14, 2018 · 7 comments
Closed

Plugin catalog ? #5027

ChristopherHackett opened this issue Nov 14, 2018 · 7 comments

Comments

@ChristopherHackett
Copy link

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)

@hkosova
Copy link
Contributor

hkosova commented Nov 14, 2018

There's no official plugin catalog from what I know, but here are some plugins previously posted in the issue tracker or created by community members:

@hkosova
Copy link
Contributor

hkosova commented Nov 14, 2018

I'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.

@ChristopherHackett
Copy link
Author

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.

@shockey
Copy link
Contributor

shockey commented Jan 15, 2019

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.

@shockey shockey closed this as completed Jan 15, 2019
@AdrieanKhisbe
Copy link
Contributor

(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.

👉 https://github.com/shockey/swagger-ui-plugins

@angrocode
Copy link

add my plugin

@sh-at-cs
Copy link

@hkosova Could you please add @kael-shipman's hierarchical tags plugin from #5969, i.e. https://www.npmjs.com/package/swagger-ui-plugin-hierarchical-tags ? Pretty useful if you ask me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants