config/packages/api_platform.yaml

mail@pastecode.io avatar
unknown
plain_text
a month ago
654 B
1
Indexable
Never
api_platform:
    swagger:
        api_keys:
            JWT:
                name: Authorization
                type: header
    title: License-Manager
    version: 1.0.0
    formats:
        jsonld: ['application/ld+json']
    docs_formats:
        jsonld: ['application/ld+json']
        jsonopenapi: ['application/vnd.openapi+json']
        html: ['text/html']
    defaults:
        stateless: true
        cache_headers:
            vary: ['Content-Type', 'Authorization', 'Origin']
        extra_properties:
            standard_put: true
            rfc_7807_compliant_errors: true
    keep_legacy_inflector: false
    use_symfony_listeners: true
Leave a Comment