mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
[API] Fix contract tests for API Platform 4.1
This commit is contained in:
parent
771fb21436
commit
0b2be91493
40 changed files with 80 additions and 80 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "endDate: End date cannot be set before start date.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "code: The catalog promotion with given code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "code: Please enter catalog promotion code.\nname: Please enter catalog promotion name.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "translations[en_US].locale: A translation for the \"en_US\" locale code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "code: This value is not a valid currency code.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "email: This email is already used.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "email: This email is invalid.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "gender: The value you selected is not a valid choice.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "firstName: First name must be at least 2 characters long.\nlastName: Last name must be at least 2 characters long.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "gender: The value you selected is not a valid choice.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "code: This value is not a valid locale code.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "translations[en_US].locale: A translation for the \"en_US\" locale code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "translations[a].locale: This value is not a valid locale.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "code: Please enter product code.\ntranslations[en_US].name: Please enter product name.\ntranslations[en_US].slug: Please enter product slug.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "translations[pl_PL].locale: A translation for the \"pl_PL\" locale code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "owner: An association with this owner and type already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "type: Please enter association type.\nowner: Please enter association owner.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "code: Please enter association type code.\ntranslations[en_US].name: Please enter association type name.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "translations[en_US].locale: A translation for the \"en_US\" locale code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "type: The attribute type \"foobar\" is not registered. Available attribute types: text, textarea, checkbox, integer, float, percent, datetime, date, select.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "code: Please enter attribute code.\ntranslations[en_US].name: Please enter attribute name.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "Configuration multiple must be true if min or max entries values are specified.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "Configuration max entries value must be greater or equal to the min entries value.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "Configuration min entries value must be lower or equal to the number of added choices.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "Configuration max length must be greater or equal to the min length.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "translations[en_US].locale: A translation for the \"en_US\" locale code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "The product variant with code \"CAP_YELLOW\" does not belong to the product with code \"MUG\", which is the owner of the image.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "The product variant with code \"CAP_YELLOW\" does not belong to the product with code \"MUG\", which is the owner of the image.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "values[0].translations[en_US].locale: A translation for the \"en_US\" locale code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "translations[en_US].locale: A translation for the \"en_US\" locale code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "@string@",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "endsAt: End date cannot be set prior start date.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "@string@",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "code: The promotion with given code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "code: Please enter promotion code.\nname: Please enter promotion name.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "translations[en_US].locale: A translation for the \"en_US\" locale code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "code: Taxon with given code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description":"translations[en_US].name: Please enter taxon name.\ntranslations[en_US].slug: Please enter taxon slug.\ncode: Please enter taxon code.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "translations[en_US].locale: A translation for the \"en_US\" locale code already exists.",
|
||||
"status": 422,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"@context": "\/api\/v2\/contexts\/ConstraintViolationList",
|
||||
"@context": "\/api\/v2\/contexts\/@string@.startsWith('ConstraintViolation')",
|
||||
"@id": "\/api\/v2\/validation_errors\/@string@",
|
||||
"@type": "ConstraintViolationList",
|
||||
"@type": "@string@.startsWith('ConstraintViolation')",
|
||||
"hydra:title": "An error occurred",
|
||||
"hydra:description": "email: This email is invalid.\nlocaleCode: This value is not a valid locale code.",
|
||||
"status": 422,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue