czydojade/api/config/packages/nelmio_api_doc.yaml
2020-11-01 17:57:06 +01:00

20 lines
473 B
YAML

nelmio_api_doc:
documentation:
info:
title: Co Jedzie?
version: 0.1.0
parameters:
provider:
in: path
name: provider
type: string
description: Data provider identificator, e.g. trojmiasto for ZTM Gdańsk.
required: true
areas:
path_patterns:
- ^/[^\/]+/api(?!/doc$) # Accepts routes under /api except /api/doc