cog
cog copied to clipboard
How to Disable Swagger UI and openapi.json in Cog
Hi
I hope this message finds you well. I am currently exploring Cog and would like to understand how to disable the Swagger UI and openapi.json endpoints for security purposes.
Could you please provide guidance or recommended steps to achieve this configuration? Any help or documentation you could point me to would be highly appreciated.
Thank you for your assistance and for your continued work on this project!
Yeah this would need to done on the fastapi side.. unless theres a way in cog to provide overrides? https://fastapi.tiangolo.com/tutorial/metadata/#openapi-url @kosukekurimoto