Skip to content

Commit b6bf748

Browse files
committed
Correct multiple errors with code example
1 parent 417d875 commit b6bf748

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ If the API docs specified:
243243
> | 226 | "passwords do not match" |
244244
> | 227 | "password cannot be one of last five passwords" |
245245
246-
Multiple errors on `first-name` attribute, with error "code":
246+
Multiple errors on `password` attribute, with error "code":
247247

248248
```http
249249
HTTP/1.1 422 Unprocessable Entity
@@ -256,6 +256,11 @@ Content-Type: application/vnd.api+json
256256
"source": { "pointer": "data/attributes/first-name" },
257257
"detail": "First name must contain at least three characters."
258258
},
259+
{
260+
"code": "225",
261+
"source": { "pointer": "data/attributes/password" },
262+
"detail": "Frobnicate is not a neologism."
263+
},
259264
{
260265
"code": "226",
261266
"source": { "pointer": "data/attributes/password" },

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy