openapi: set http return code according to standard
This commit is contained in:
parent
afa78a1260
commit
0bc8eeffb3
34
openapi.yaml
34
openapi.yaml
@ -61,7 +61,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"201":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
@ -119,7 +119,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -138,7 +138,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -157,7 +157,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -176,7 +176,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -195,7 +195,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -214,7 +214,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -233,7 +233,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -250,7 +250,7 @@ paths:
|
|||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/SubmissionID'
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -267,7 +267,7 @@ paths:
|
|||||||
parameters:
|
parameters:
|
||||||
- $ref: '#/components/parameters/SubmissionID'
|
- $ref: '#/components/parameters/SubmissionID'
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -286,7 +286,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -309,7 +309,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"201":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
@ -389,7 +389,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -407,7 +407,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -430,7 +430,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"201":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
@ -481,7 +481,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
@ -499,7 +499,7 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- cookieAuth: []
|
- cookieAuth: []
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"204":
|
||||||
description: Successful response
|
description: Successful response
|
||||||
default:
|
default:
|
||||||
description: General Error
|
description: General Error
|
||||||
|
Loading…
Reference in New Issue
Block a user