Skip to content

Commit 6caecf7

Browse files
committed
Add 202 responses to endpoints
1 parent 4563be8 commit 6caecf7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

openapi.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1831,6 +1831,8 @@ paths:
18311831
application/json:
18321832
schema:
18331833
$ref: '#/components/schemas/Payment'
1834+
'202':
1835+
$ref: '#/components/responses/WarningResponse'
18341836
default:
18351837
$ref: '#/components/responses/ErrorResponse'
18361838
x-code-samples:
@@ -1985,6 +1987,8 @@ paths:
19851987
application/json:
19861988
schema:
19871989
type: object
1990+
'202':
1991+
$ref: '#/components/responses/WarningResponse'
19881992
default:
19891993
$ref: '#/components/responses/ErrorResponse'
19901994
x-code-samples:
@@ -15578,7 +15582,10 @@ components:
1557815582
items:
1557915583
$ref: '#/components/schemas/ErrorObject'
1558015584
WarningResponse:
15581-
description: Warning
15585+
description: |
15586+
Accepted with warning.
15587+
15588+
A warning object is included with the standard 200 response.
1558215589
content:
1558315590
application/json:
1558415591
schema:

0 commit comments

Comments
 (0)