nelmio_api_doc:
    documentation:
        info:
            title: Salvatti-backend app
            description: This is an awesome app!
            version: 1.0.0
        paths:
            /api/login_check:
                post:
                    summary: Get user session
                    requestBody:
                        content:
                            application/json:
                                schema:
                                    type: object
                                    properties:
                                        email:
                                            type: string
                                        password:
                                            type: string
    areas: # to filter documented areas
        path_patterns:
            - ^/api(?!/doc$) # Accepts routes under /api except /api/doc
