api_platform_openapi_yaml:
    path: /api/docs.yaml
    methods: [GET]
    defaults:
        _controller: api_platform.swagger.action
        _format: yaml
