Skip to content

Commit

Permalink
Update "Value is too short" detail description
Browse files Browse the repository at this point in the history
Let's make this world a better place for everyone :D
https://twitter.com/sqiouyilu/status/1495971335578832898
  • Loading branch information
isBatak committed Mar 25, 2022
1 parent 0f145e6 commit 621b260
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/index.md
Expand Up @@ -197,7 +197,7 @@ Content-Type: application/vnd.api+json
"status": "422",
"source": { "pointer": "/data/attributes/firstName" },
"title": "Invalid Attribute",
"detail": "First name must contain at least three characters."
"detail": "First name must contain at least two characters."
}
]
}
Expand Down Expand Up @@ -263,7 +263,7 @@ Content-Type: application/vnd.api+json
{
"source": { "pointer": "/data/attributes/firstName" },
"title": "Invalid Attribute",
"detail": "First name must contain at least three characters."
"detail": "First name must contain at least two characters."
},
{
"source": { "pointer": "/data/attributes/firstName" },
Expand Down Expand Up @@ -309,7 +309,7 @@ Content-Type: application/vnd.api+json
"code": "123",
"source": { "pointer": "/data/attributes/firstName" },
"title": "Value is too short",
"detail": "First name must contain at least three characters."
"detail": "First name must contain at least two characters."
},
{
"code": "225",
Expand Down

0 comments on commit 621b260

Please sign in to comment.