-
Notifications
You must be signed in to change notification settings - Fork 343
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request