Configure l'environnement de développement complet avec Docker Compose, structure DDD 4 Bounded Contexts, et pipeline CI/CD GitHub Actions. Corrections compatibilité CI: - Symfony 8 nécessite monolog-bundle ^4.0 (la v3.x ne supporte que jusqu'à Symfony 7) - ESLint v9 nécessite flat config (eslint.config.js) - le format .eslintrc.cjs est obsolète
32 lines
831 B
YAML
32 lines
831 B
YAML
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'
|