Nelmio ApiDoc 3.0 - exclude section from SwaggerUI
You can use the areas
section in config.ym
l, setting the default area to whichever routes you want:
nelmio_api_doc: documentation: [...] areas: default: path_patterns: [ ^/user, ^/customer ]
This config will set under api/doc only the routes you put in the array.