-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/Functional/App/PostResourceAction/Output/validation_error2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"type":"https:\/\/symfony.com\/errors\/validation","title":"Validation Failed","status":422,"detail":"status: This value should be of type OpenSolid\\Tests\\OpenApiBundle\\Functional\\App\\PostResourceAction\\Model\\ResourceStatus.\nname: This value is too short. It should have 3 characters or more.\nstatus: This value should not be null.","violations":[{"propertyPath":"status","title":"This value should be of type OpenSolid\\Tests\\OpenApiBundle\\Functional\\App\\PostResourceAction\\Model\\ResourceStatus.","template":"This value should be of type {{ type }}.","parameters":{"{{ type }}":"OpenSolid\\Tests\\OpenApiBundle\\Functional\\App\\PostResourceAction\\Model\\ResourceStatus","hint":"The data must belong to a backed enumeration of type OpenSolid\\Tests\\OpenApiBundle\\Functional\\App\\PostResourceAction\\Model\\ResourceStatus"}},{"propertyPath":"name","title":"This value is too short. It should have 3 characters or more.","template":"This value is too short. It should have {{ limit }} character or more.|This value is too short. It should have {{ limit }} characters or more.","parameters":{"{{ value }}":"\"fo\"","{{ limit }}":"3","{{ value_length }}":"2"},"type":"urn:uuid:9ff3fdc4-b214-49db-8718-39c315e33d45"},{"propertyPath":"status","title":"This value should not be null.","template":"This value should not be null.","parameters":{"{{ value }}":"null"},"type":"urn:uuid:ad32d13f-c3d4-423b-909a-857b961eb720"}]} | ||
{"type":"https:\/\/symfony.com\/errors\/validation","title":"Validation Failed","status":422,"detail":"status: This value should be of type OpenSolid\\Tests\\OpenApiBundle\\Functional\\App\\PostResourceAction\\Model\\ResourceStatus.","violations":[{"propertyPath":"status","title":"This value should be of type OpenSolid\\Tests\\OpenApiBundle\\Functional\\App\\PostResourceAction\\Model\\ResourceStatus.","template":"This value should be of type {{ type }}.","parameters":{"{{ type }}":"OpenSolid\\Tests\\OpenApiBundle\\Functional\\App\\PostResourceAction\\Model\\ResourceStatus","hint":"The data must belong to a backed enumeration of type OpenSolid\\Tests\\OpenApiBundle\\Functional\\App\\PostResourceAction\\Model\\ResourceStatus"}}]} |