sanic-org / sanic-openapi

Easily document your Sanic API with a UI
https://sanic-openapi.readthedocs.io/
MIT License
505 stars 108 forks source link

Method POST not allowed for URL #238

Closed snakecy closed 3 years ago

snakecy commented 3 years ago

Describe the bug A clear and concise description of what the bug is. It there is error log, please provide it.

Screenshots The screenshots of Swagger UI if this bug is related to it. image

To Reproduce Your code snippet or steps to reproduce the bug.

Expected behavior A clear and concise description of what you expected to happen.

Environment (please complete the following information):

Additional context Add any other context about the problem here. This might be how to fix this bug or some hint to fix it.

ahopkins commented 3 years ago

Can you please post the version of: sanic, sanic-routing, and sanic-openapi that you have installed? Also, do you have a snippet of code for the route?

artcg commented 3 years ago

Please also add the expected behaviour as it is unclear to me what this screenshot is referring to