We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here is the simple bug to show the bug. Sanic server has two handlers having the same path:
from sanic import Sanic from sanic.response import json from sanic_openapi import openapi2_blueprint app = Sanic(name="AwesomeApi") app.blueprint(openapi2_blueprint) @app.get("/path") async def test(request): return json({"hello": "world"}) @app.post("/path") async def post_test(request): return json({"hello": "world"}) if __name__ == "__main__": app.run(host="0.0.0.0", port=8000)
Swagger doc only includes one handler
The text was updated successfully, but these errors were encountered:
Thanks for the report, will check that out over next couple days
Sorry, something went wrong.
artcg
Successfully merging a pull request may close this issue.
Here is the simple bug to show the bug. Sanic server has two handlers having the same path:
Swagger doc only includes one handler
The text was updated successfully, but these errors were encountered: