Closed pdecat closed 6 years ago
My work-around for now is to add an additional URL rule:
from eve import Eve
from eve_swagger import swagger
myapp = Eve()
myapp.register_blueprint(swagger, url_prefix='/docs/api')
myapp.add_url_rule('/docs/api', 'eve_swagger.index')
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
what about mapping the index endpoint on the
/
route instead of/api-docs
letting the embedding app to map wherever it likes withurl_prefix
?If I submitted such a PR, would it get accepted or are there any reason not doing so in the first place?
Best regards, Patrick.