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

can i use custom swagger-ui? #32

Closed
davigmacode opened this issue Jan 19, 2017 · 4 comments
Closed

can i use custom swagger-ui? #32

davigmacode opened this issue Jan 19, 2017 · 4 comments

Comments

@davigmacode
Copy link

Hi, can i use custom swagger-ui like on https://github.com/jensoleg/swagger-ui ?
It has better ui than the default

@daffl
Copy link
Member

daffl commented Jan 19, 2017

Yes. Any Swagger compatible UI pointing to docsPath (default /docs) will work. We could make the require.resolve('swagger-ui') in https://github.com/feathersjs/feathers-swagger/blob/master/src/index.js#L57 configurable (config.uiPackage defaulting to swagger-ui) so it could work the same as using the default UI.
Pull request welcome!

@davigmacode
Copy link
Author

I'm sorry, i just end up serving static doc using flatdoc,
i realize it more fast to write the doc using markdown than learning the swagger format

@daffl
Copy link
Member

daffl commented Jan 24, 2017

We'll leave it at that then.

@daffl daffl closed this as completed Jan 24, 2017
@JigSawFr
Copy link

Could be great to make it configurable to use this Swagger explorer instead of default swagger ui !

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

No branches or pull requests

3 participants