Skip to content

Commit b0605fa

Browse files
Amin Farjadiamin-farjadi
authored andcommitted
feat(docs): Added doc for custom response validation error responses.
1 parent 65ab4c3 commit b0605fa

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"statusCode": 500,
3+
"body": "{\"statusCode\": 500, \"detail\": [{\"type\": \"model_attributes_type\", \"loc\": [\"response\", ]}]}",
4+
"isBase64Encoded": false,
5+
"headers": {
6+
"Content-Type": "application/json"
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"statusCode": 500,
3+
"body": "Unexpected response.",
4+
"isBase64Encoded": false,
5+
"headers": {
6+
"Content-Type": "application/json"
7+
}
8+
}

0 commit comments

Comments
 (0)