File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ components :
2+ schemas :
3+ Errors :
4+ type : object
5+ required :
6+ - code
7+ - message
8+ properties :
9+ title :
10+ type : string
11+ example : " An error occurred"
12+ description : The title of the problem detail
13+ detail :
14+ type : string
15+ example : " Provide the details of the Exception message."
16+ description : Details of the problem
17+ type :
18+ type : string
19+ example : " Invalid Request"
20+
21+ examples :
22+ invalidRequestSchema :
23+ description : Invalid Request Schema
24+ content :
25+ application/json :
26+ schema :
27+ $ref : ' #/components/schemas/Errors'
28+ badRequest :
29+ description : Bad Request
30+ content :
31+ application/json :
32+ schema :
33+ $ref : ' #/components/schemas/Errors'
34+ unAuthorised :
35+ description : Unauthorised
36+ content :
37+ application/json :
38+ schema :
39+ $ref : ' #/components/schemas/Errors'
40+ forbidden :
41+ description : Forbidden
42+ content :
43+ application/json :
44+ schema :
45+ $ref : ' #/components/schemas/Errors'
46+ notFound :
47+ description : Resource Not Found
48+ content :
49+ application/json :
50+ schema :
51+ $ref : ' #/components/schemas/Errors'
52+ serverError :
53+ description : Internal Server Error
54+ content :
55+ application/json :
56+ schema :
57+ $ref : ' #/components/schemas/Errors'
58+ serviceUnavailable :
59+ description : Service Unavailable
60+ content :
61+ application/json :
62+ schema :
63+ $ref : ' #/components/schemas/Errors'
You can’t perform that action at this time.
0 commit comments