api_platform:
    title: 'Classeo API'
    description: 'API for Classeo - School Management System'
    version: '1.0.0'

    # Enable OpenAPI documentation
    formats:
        jsonld: ['application/ld+json']
        json: ['application/json']
        html: ['text/html']

    docs_formats:
        jsonld: ['application/ld+json']
        jsonopenapi: ['application/vnd.openapi+json']
        html: ['text/html']

    # Defaults
    defaults:
        stateless: true
        cache_headers:
            vary: ['Content-Type', 'Authorization', 'Origin']
        extra_properties:
            standard_put: true
            rfc_7807_compliant_errors: true
        pagination_items_per_page: 30

    # Pagination
    collection:
        pagination:
            enabled: true
            items_per_page_parameter_name: 'itemsPerPage'
