nelmio_api_doc.yaml 1.14 KB
# nelmio_api_doc:
#     areas:
#         path_patterns: # an array of regexps
#             - ^/api(?!/doc$)
#         host_patterns:
#             - ^api\.
#     documentation:
#         host: api.example.com
#         schemes: [http, https]
#         info:
#             title: My App
#             description: This is an awesome app!
#             version: 1.0.0
#         securityDefinitions:
#             Bearer:
#                 type: apiKey
#                 description: 'Value: Bearer {jwt}'
#                 name: Authorization
#                 in: header
#         security:
#             - Bearer: []

nelmio_api_doc:
    # models: { use_jms: true }
    documentation:
        info:
            title: MLC
            description: Application de gesiton de Monnaie Locale Complémentaire
            version: 1.0.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\.