Files
symfony-flex-recipes-contrib/nelmio/api-doc-bundle/3.0/config/packages/nelmio_api_doc.yaml
T
Juan Luis García BorregoandGitHub 752a7b4b70 Update nelmio_api_doc.yaml
In Symfony 4
The `nelmio_api_doc.routes` config option is deprecated. Please use `nelmio_api_doc.areas` instead (just replace `routes` by `areas` in your config)
2018-03-16 10:17:03 +01:00

10 lines
287 B
YAML

nelmio_api_doc:
documentation:
info:
title: My App
description: This is an awesome app!
version: 1.0.0
areas: # to filter documented areas
path_patterns:
- ^/api(?!/doc$) # Accepts routes under /api except /api/doc