Replies: 2 comments 2 replies
|
Hi, I'm not sure if this is the best way but this is how I do it, in my routes.yaml file: |
0 replies
|
Could someone from the API Platform team advise on the recommended way to completely disable the API documentation in production? Additionally, when html is added as a format in api_platform.yaml, and enable_docs is set to false, accessing any endpoint in the browser still renders the API documentation (due to content negotiation with text/html). Thanks in advance! |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to hide/disable documentation for the production. The configuration option 'enable_docs' is not working for me.
It works with this cong:
Is this the best way or there is an issue with the "enable_docs" configuration ?
Thank you for your help :)
All reactions