-
Notifications
You must be signed in to change notification settings - Fork 338
Custom swagger filename #191
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
Comments
I see this has been open for a while, this enhancement would help out my team immensely. Is there anything holding back the associated merge request? |
It would help my team immensely as well. I don't believe anything is holding it back -- just needs a final review from the maintainers. |
Thanks, rebased! |
merged #192. If folks can try out from the main branch, please do. we'll try to get release out this quarter. |
Uh oh!
There was an error while loading. Please reload this page.
Currently, when trying to use multiple blueprints with different restx Api's but with the same url_prefix, restx will default to using the same swagger.json file (since it is located in the folder). This makes eg Api(bp1, doc='/docs/internal') and Api(bp2, doc='docs/external') show the same swagger.json file, with only the first blueprint registered to the flask application will being shown (but both routes still works).
I would like to be able to be able to specify my swagger.json filename myself when creating the Api, to be able to have multiple docs for different blueprints under the same url_prefix scope.
The text was updated successfully, but these errors were encountered: