| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- api_platform:
- title: 'Opentalent API'
- version: '2.5'
- enable_docs: true
- enable_swagger: true
- enable_swagger_ui: true
- mapping:
- paths:
- - '%kernel.project_dir%/src/Entity'
- - '%kernel.project_dir%/src/ApiResources'
- - '%kernel.project_dir%/config/api_platform'
- patch_formats:
- json: ['application/merge-patch+json']
- swagger:
- versions: [3]
- resource_class_directories:
- - '%kernel.project_dir%/src/Entity'
- defaults:
- pagination_enabled: true
- pagination_items_per_page: 20
- pagination_maximum_items_per_page: 50
- pagination_client_enabled: true
- pagination_client_items_per_page: true
- normalization_context:
- ## In 3.0, in conformance with the JSON Merge Patch RFC, the default value of the skip_null_values
- ## property is true which means that from now on null values are omitted during serialization.
- ## we don't want this => surcharge default value to false
- skip_null_values: false
- formats:
- jsonld: [ 'application/ld+json' ]
- json: [ 'application/json' ]
- graphql:
- graphiql:
- enabled: false
- use_symfony_listeners: true
- mercure:
- enabled: true
- messenger:
- enabled: true
- # To enable collecting denormalization errors
|