nelmio_api_doc.yaml 561 Bytes
Newer Older
Julien Jorry committed
1
# Optional!
Julien Jorry committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
nelmio_api_doc:
    # models: { use_jms: true }
    documentation:
        info:
            title: MLC
            description: Application de gesiton de Monnaie Locale Complémentaire
            version: 2.3.0
        security_definitions:
            api_key:
                type: apiKey
                name: api_key
                in: header
        security:
            api_key: []
    areas: # to filter documented areas
        path_patterns: # an array of regexps
            - ^/api(?!/doc$)
        host_patterns:
            - ^api\.