api_platform.yaml 933 B

12345678910111213141516171819202122232425
  1. api_platform:
  2. title: 'Opentalent API'
  3. version: '3.1'
  4. enable_swagger_ui: false
  5. enable_re_doc: false
  6. mapping:
  7. paths:
  8. - '%kernel.project_dir%/src/Entity'
  9. - '%kernel.project_dir%/src/ApiResources'
  10. - '%kernel.project_dir%/config/api_platform'
  11. patch_formats:
  12. json: ['application/merge-patch+json']
  13. swagger:
  14. versions: [3]
  15. resource_class_directories:
  16. - '%kernel.project_dir%/src/Entity'
  17. defaults:
  18. pagination_items_per_page: 20
  19. normalization_context:
  20. ## In 3.0, in conformance with the JSON Merge Patch RFC, the default value of the skip_null_values
  21. ## property is true which means that from now on null values are omitted during serialization.
  22. ## we don't want this => surcharge default value to false
  23. skip_null_values: false
  24. graphql:
  25. graphql_playground: false