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

[Feature Request] disable secure for individual route #249

Closed eeveefox closed 2 years ago

eeveefox commented 2 years ago

Is it possible to disable authorization for a particular router, as in exclude?

ahopkins commented 2 years ago

Do you have a snippet of what you have done so far?

eeveefox commented 2 years ago

@doc.security([])

for example

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is incorrect, please respond with an update. Thank you for your contributions.

ahopkins commented 2 years ago

This exists in Sanic Extensions and will not be added here.