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: |
Beta Was this translation helpful? Give feedback.
-
|
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! |
Beta Was this translation helpful? Give feedback.
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 :)
Beta Was this translation helpful? Give feedback.
All reactions