Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviano committed Jan 31, 2025
1 parent 39f4d42 commit 234a20c
Show file tree
Hide file tree
Showing 3 changed files with 129 additions and 75 deletions.
195 changes: 123 additions & 72 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions config/packages/api_platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ api_platform:
skip_null_values: false
extra_properties:
standard_put: false
rfc_7807_compliant_errors: false
pagination_items_per_page: 10
pagination_maximum_items_per_page: 30
pagination_client_items_per_page: true
8 changes: 5 additions & 3 deletions features/api/audiences.feature
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ Feature:
And the JSON should be equal to:
"""
{
"message": "Validation Failed",
"status": "error",
"violations": [
"type": "@string@",
"title": "An error occurred",
"status": 400,
"violations": {
"name": "Cette valeur ne doit pas être vide.",
{
"propertyPath": "name",
"message": "Cette valeur ne doit pas être vide."
Expand Down

0 comments on commit 234a20c

Please sign in to comment.