forked from BrasilAPI/BrasilAPI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.json
More file actions
27 lines (27 loc) · 763 Bytes
/
Copy patherror.json
File metadata and controls
27 lines (27 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
"components": {
"schemas": {
"ErrorMessage": {
"title": "ErrorMessage",
"required": ["message", "name", "type"],
"type": "object",
"properties": {
"message": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"example": {
"message": "Cidade não localizada",
"type": "city_error",
"name": "CITY_NOT_FOUND"
}
}
}
}
}