You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible with the current release (0.5.5) to support multiple swagger endpoints? I tried to register an two Api instances and it failed on the second, with a sanic.router.RouteExists: Route already registered: /swaggerui<file_uri:/?.+> [HEAD,GET] I noticed on issue #6 you had mentioned using blueprints was disabled but that does appear that the only way you can enable multiple Api documents in the restplus plugin for flask. Is there another way?
thanks
The text was updated successfully, but these errors were encountered:
Hi @notzippy sorry for the delayed response, I didn't see this issue come through.
You're right, its not possible in Sanic-restplus to register more than one Api object right now, and I agree it should be possible.
There is a new extension called sanic-ext being developed by the sanic team that will be OpenAPI-3 compliant and will be much easier to use than this dodgy old restplus port. So Sanic-Restplus is essentially on maintenance mode now, until that comes out.
Is it possible with the current release (0.5.5) to support multiple swagger endpoints? I tried to register an two Api instances and it failed on the second, with a
sanic.router.RouteExists: Route already registered: /swaggerui<file_uri:/?.+> [HEAD,GET]
I noticed on issue #6 you had mentioned using blueprints was disabled but that does appear that the only way you can enable multiple Api documents in the restplus plugin for flask. Is there another way?thanks
The text was updated successfully, but these errors were encountered: