-
Notifications
You must be signed in to change notification settings - Fork 472
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 is not detecting mounted rack app #730
Comments
I don't see anything wrong, this should work. I would turn it into a spec next in this repo and PR. |
Ok Thanks you. I am new to swagger ecosystem. If possible can you point me towards any blog/article for setting up swagger UI at local development machine. |
I don't think you need swagger UI, but see CONTRIBUTING in this project for how to contribute in general If you do want actual swagger UI, the way I do it is to run ngrok locally that proxies to my localhost server and use https://petstore.swagger.io |
Regarding adding spec for this case, should I just go on and create a new pull request and this spec in a new file?. I want to contribute to this gem. I am new to open source contribution. Please point me in the right direction. |
Yes! We welcome failing specs in a pull request so that another person can fix the bugs, too. |
Code
Gemfile
Gemfile.lock
I am trying to generate swagger compatible documentation and I got the link at
http://localhost:9292/api/swagger_doc
. The/api
is because ofprefix :api
inAPI::Base
module. I am getting the below response from the link.As we can see there is no documentation generated for the endpoint defined inside
API::V1::Welcome
class. Please let me know if I am doing anything wrong over here.The text was updated successfully, but these errors were encountered: