forked from adewg/ICAR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexampleErrorResource.json
35 lines (32 loc) · 1.03 KB
/
exampleErrorResource.json
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
28
29
30
31
32
33
34
35
{
"description": "A human-readable error message describing what went wrong.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "A unique identifier for this particular occurrence of the problem"
},
"status": {
"type": "integer",
"description": "The HTTP status code applicable to this problem, expressed as a string value",
"format": "int32"
},
"code": {
"type": "string",
"description": "An application-specific error code, expressed as a string value."
},
"title": {
"type": "string",
"description": "A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization."
},
"detail": {
"type": "string",
"description": "A human-readable explanation specific to this occurrence of the problem. Like title, this field’s value can be localized."
},
"meta": {
"type": "object",
"properties": {
}
}
}
}