feat: Setup projet Classeo avec infrastructure Docker et architecture DDD
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
This commit is contained in:
31
backend/config/packages/api_platform.yaml
Normal file
31
backend/config/packages/api_platform.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
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'
|
||||
Reference in New Issue
Block a user