Skip to content

Commit 58945bc

Browse files
committed
Fixed incorrectly specified 204 responses as they are actually empty and there is no response content to parse
1 parent ad1fe76 commit 58945bc

1 file changed

Lines changed: 1 addition & 138 deletions

File tree

openapi.yaml

Lines changed: 1 addition & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -580,13 +580,6 @@ paths:
580580
responses:
581581
'204':
582582
description: The request was successful.
583-
content:
584-
text/plain:
585-
schema:
586-
$ref: '#/components/schemas/empty_response_body'
587-
application/json:
588-
schema:
589-
$ref: '#/components/schemas/empty_response_body'
590583
'400':
591584
$ref: '#/components/responses/400_error_response'
592585
'404':
@@ -621,13 +614,6 @@ paths:
621614
responses:
622615
'204':
623616
description: The request was successful.
624-
content:
625-
text/plain:
626-
schema:
627-
$ref: '#/components/schemas/empty_response_body'
628-
application/json:
629-
schema:
630-
$ref: '#/components/schemas/empty_response_body'
631617
'400':
632618
$ref: '#/components/responses/400_error_response'
633619
'404':
@@ -665,13 +651,6 @@ paths:
665651
responses:
666652
'204':
667653
description: The request was successful.
668-
content:
669-
text/plain:
670-
schema:
671-
$ref: '#/components/schemas/empty_response_body'
672-
application/json:
673-
schema:
674-
$ref: '#/components/schemas/empty_response_body'
675654
'400':
676655
$ref: '#/components/responses/400_error_response'
677656
'404':
@@ -767,13 +746,6 @@ paths:
767746
responses:
768747
'204':
769748
description: The request was successful.
770-
content:
771-
text/plain:
772-
schema:
773-
$ref: '#/components/schemas/empty_response_body'
774-
application/json:
775-
schema:
776-
$ref: '#/components/schemas/empty_response_body'
777749
'400':
778750
$ref: '#/components/responses/400_error_response'
779751
'404':
@@ -805,13 +777,6 @@ paths:
805777
responses:
806778
'204':
807779
description: The request was successful.
808-
content:
809-
text/plain:
810-
schema:
811-
$ref: '#/components/schemas/empty_response_body'
812-
application/json:
813-
schema:
814-
$ref: '#/components/schemas/empty_response_body'
815780
'400':
816781
$ref: '#/components/responses/400_error_response'
817782
'404':
@@ -1090,13 +1055,6 @@ paths:
10901055
responses:
10911056
'204':
10921057
description: The request was successful.
1093-
content:
1094-
text/plain:
1095-
schema:
1096-
$ref: '#/components/schemas/empty_response_body'
1097-
application/json:
1098-
schema:
1099-
$ref: '#/components/schemas/empty_response_body'
11001058
'404':
11011059
$ref: '#/components/responses/404_error_response'
11021060
'500':
@@ -1153,13 +1111,6 @@ paths:
11531111
responses:
11541112
'204':
11551113
description: The request was successful.
1156-
content:
1157-
text/plain:
1158-
schema:
1159-
$ref: '#/components/schemas/empty_response_body'
1160-
application/json:
1161-
schema:
1162-
$ref: '#/components/schemas/empty_response_body'
11631114
'404':
11641115
$ref: '#/components/responses/404_error_response'
11651116
'500':
@@ -1361,13 +1312,6 @@ paths:
13611312
responses:
13621313
'204':
13631314
description: The request was successful.
1364-
content:
1365-
text/plain:
1366-
schema:
1367-
$ref: '#/components/schemas/empty_response_body'
1368-
application/json:
1369-
schema:
1370-
$ref: '#/components/schemas/empty_response_body'
13711315
'400':
13721316
$ref: '#/components/responses/400_error_response'
13731317
'404':
@@ -1383,13 +1327,6 @@ paths:
13831327
responses:
13841328
'204':
13851329
description: The request was successful.
1386-
content:
1387-
text/plain:
1388-
schema:
1389-
$ref: '#/components/schemas/empty_response_body'
1390-
application/json:
1391-
schema:
1392-
$ref: '#/components/schemas/empty_response_body'
13931330
'400':
13941331
$ref: '#/components/responses/400_error_response'
13951332
'404':
@@ -2184,13 +2121,6 @@ paths:
21842121
responses:
21852122
'204':
21862123
description: The request was successful.
2187-
content:
2188-
text/plain:
2189-
schema:
2190-
$ref: '#/components/schemas/empty_response_body'
2191-
application/json:
2192-
schema:
2193-
$ref: '#/components/schemas/empty_response_body'
21942124
'400':
21952125
$ref: '#/components/responses/400_error_response'
21962126
'404':
@@ -2206,13 +2136,6 @@ paths:
22062136
responses:
22072137
'204':
22082138
description: The request was successful.
2209-
content:
2210-
text/plain:
2211-
schema:
2212-
$ref: '#/components/schemas/empty_response_body'
2213-
application/json:
2214-
schema:
2215-
$ref: '#/components/schemas/empty_response_body'
22162139
'400':
22172140
$ref: '#/components/responses/400_error_response'
22182141
'404':
@@ -3092,13 +3015,6 @@ paths:
30923015
responses:
30933016
'204':
30943017
description: The request was successful.
3095-
content:
3096-
text/plain:
3097-
schema:
3098-
$ref: '#/components/schemas/empty_response_body'
3099-
application/json:
3100-
schema:
3101-
$ref: '#/components/schemas/empty_response_body'
31023018
'400':
31033019
$ref: '#/components/responses/400_error_response'
31043020
'404':
@@ -3248,13 +3164,6 @@ paths:
32483164
responses:
32493165
'204':
32503166
description: The request was successful.
3251-
content:
3252-
text/plain:
3253-
schema:
3254-
$ref: '#/components/schemas/empty_response_body'
3255-
application/json:
3256-
schema:
3257-
$ref: '#/components/schemas/empty_response_body'
32583167
'400':
32593168
$ref: '#/components/responses/400_error_response'
32603169
'404':
@@ -3326,13 +3235,6 @@ paths:
33263235
responses:
33273236
'204':
33283237
description: The request was successful.
3329-
content:
3330-
text/plain:
3331-
schema:
3332-
$ref: '#/components/schemas/empty_response_body'
3333-
application/json:
3334-
schema:
3335-
$ref: '#/components/schemas/empty_response_body'
33363238
'400':
33373239
$ref: '#/components/responses/400_error_response'
33383240
'404':
@@ -3364,13 +3266,6 @@ paths:
33643266
responses:
33653267
'204':
33663268
description: The request was successful.
3367-
content:
3368-
text/plain:
3369-
schema:
3370-
$ref: '#/components/schemas/empty_response_body'
3371-
application/json:
3372-
schema:
3373-
$ref: '#/components/schemas/empty_response_body'
33743269
'400':
33753270
$ref: '#/components/responses/400_error_response'
33763271
'404':
@@ -3457,13 +3352,6 @@ paths:
34573352
responses:
34583353
'204':
34593354
description: The request was successful.
3460-
content:
3461-
text/plain:
3462-
schema:
3463-
$ref: '#/components/schemas/empty_response_body'
3464-
application/json:
3465-
schema:
3466-
$ref: '#/components/schemas/empty_response_body'
34673355
'400':
34683356
$ref: '#/components/responses/400_error_response'
34693357
'404':
@@ -3499,13 +3387,6 @@ paths:
34993387
responses:
35003388
'204':
35013389
description: The request was successful.
3502-
content:
3503-
text/plain:
3504-
schema:
3505-
$ref: '#/components/schemas/empty_response_body'
3506-
application/json:
3507-
schema:
3508-
$ref: '#/components/schemas/empty_response_body'
35093390
'400':
35103391
$ref: '#/components/responses/400_error_response'
35113392
'404':
@@ -3622,13 +3503,6 @@ paths:
36223503
responses:
36233504
'204':
36243505
description: The request was successful.
3625-
content:
3626-
text/plain:
3627-
schema:
3628-
$ref: '#/components/schemas/empty_response_body'
3629-
application/json:
3630-
schema:
3631-
$ref: '#/components/schemas/empty_response_body'
36323506
'400':
36333507
$ref: '#/components/responses/400_error_response'
36343508
'404':
@@ -3644,13 +3518,6 @@ paths:
36443518
responses:
36453519
'204':
36463520
description: The request was successful.
3647-
content:
3648-
text/plain:
3649-
schema:
3650-
$ref: '#/components/schemas/empty_response_body'
3651-
application/json:
3652-
schema:
3653-
$ref: '#/components/schemas/empty_response_body'
36543521
'400':
36553522
$ref: '#/components/responses/400_error_response'
36563523
'404':
@@ -4067,7 +3934,6 @@ components:
40673934
required:
40683935
- status
40693936
- original_address
4070-
- matched_address
40713937
- messages
40723938
additionalProperties: false
40733939
properties:
@@ -4081,6 +3947,7 @@ components:
40813947
matched_address:
40823948
nullable: true
40833949
readOnly: true
3950+
nullable: true
40843951
allOf:
40853952
- $ref: '#/components/schemas/address'
40863953
description: The matched address found by the Shipengine API
@@ -4659,10 +4526,6 @@ components:
46594526
additionalProperties: false
46604527
allOf:
46614528
- $ref: '#/components/schemas/batch'
4662-
empty_response_body:
4663-
title: empty_response_body
4664-
type: string
4665-
maxLength: 0
46664529
get_batch_by_id_response_body:
46674530
title: get_batch_by_id_response_body
46684531
type: object

0 commit comments

Comments
 (0)