File tree Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Expand file tree Collapse file tree 1 file changed +23
-5
lines changed Original file line number Diff line number Diff line change 6464 }
6565 },
6666 "400" : {
67- "description" : " The body data was malformed or incorrect." ,
67+ "description" : " Request body malformed or incorrect." ,
68+ "content" : {
69+ "application/json" : {
70+ "schema" : {
71+ "type" : " object" ,
72+ "$ref" : " #/components/schemas/ErrorResponse"
73+ }
74+ }
75+ }
76+ },
77+ "422" : {
78+ "description" : " Request body contained semantic errors." ,
6879 "content" : {
6980 "application/json" : {
7081 "schema" : {
144155 }
145156 ],
146157 "get" : {
147- "summary" : " Security Token Info. " ,
158+ "summary" : " Security Token Info" ,
148159 "description" : " View which Paste a particular security token is associated with." ,
149160 "operationId" : " security-info" ,
150161 "tags" : [" Security" ],
172183 }
173184 },
174185 "delete" : {
175- "summary" : " Delete Paste with Security Token. " ,
186+ "summary" : " Delete Paste with Security Token" ,
176187 "description" : " Delete the Paste associated with this security token." ,
177188 "operationId" : " security-delete" ,
178189 "tags" : [" Security" ],
417428 "ErrorResponse" : {
418429 "title" : " ErrorResponse" ,
419430 "type" : " object" ,
431+ "description" : " Generic response when something went wrong." ,
420432 "properties" : {
421433 "message" : {
422- "type" : " string"
434+ "type" : " string" ,
435+ "description" : " The error message."
436+ },
437+ "errors" : {
438+ "type" : " object" ,
439+ "description" : " Detailed information on the error. May not be present."
423440 }
424- }
441+ },
442+ "required" : [" message" ]
425443 }
426444 }
427445 }
You can’t perform that action at this time.
0 commit comments