-
Notifications
You must be signed in to change notification settings - Fork 98
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
Swagger UI integration with swagger-blocks is confusing #54
Comments
nvm, got it to work! |
Agree: still confusing. |
How can it be made clearer? I'm happy to accept PRs for README updates to make this clearer for people getting set up, while keeping in mind that swagger-blocks here is an unoffical third-party library, and Swagger UI is an official first-party library (so it's out of scope to include the whole Swagger UI setup process here, but integration hints would be great). |
I'm on board with it being confusing. I've followed the README and now have the Swagger-format json being generated. Now what? I guess I need to set up another server for Swagger? |
@seanfcarroll for example: cd public
git clone https://github.com/swagger-api/swagger-ui.git
cd swagger-ui/
git checkout v2.2.10 Change url = Where Open |
hi @biow0lf that's great, thank you. I also found a project that mounts it as a Rails engine: https://github.com/batdevis/swagger_engine |
@seanfcarroll do you mind explaining how you integrated swagger engine with swagger ui please? |
No need to change dist/index.html
|
@quarryman I don't know how you can have 2 servers run on the same host and port ( |
Added clearer setup instructions using information from issue fotinakis#54
Is there any way you could add more complete documentation for how to handle the Swagger UI side of things? It seems like that is the part that is missing from the instructions. The fact that it's an integral part of getting all this to work, it's crucial information. Specifically, expanding on your set up of Swagger UI and what you mean by "point Swagger UI to /apidocs and everything should just work."
The text was updated successfully, but these errors were encountered: