Skip to content

Commit

Permalink
Fixed incorrectly specified 204 responses as they are actually empty …
Browse files Browse the repository at this point in the history
…and there is no response content to parse
  • Loading branch information
kendallb committed Mar 27, 2024
1 parent 433dc5e commit 2147f27
Showing 1 changed file with 1 addition and 134 deletions.
135 changes: 1 addition & 134 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -751,13 +751,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -792,13 +785,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -836,13 +822,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -938,13 +917,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -976,13 +948,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -1283,13 +1248,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'404':
$ref: '#/components/responses/404_error_response'
'500':
Expand Down Expand Up @@ -1344,13 +1302,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'404':
$ref: '#/components/responses/404_error_response'
'500':
Expand Down Expand Up @@ -1552,13 +1503,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand All @@ -1574,13 +1518,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -2404,13 +2341,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand All @@ -2426,13 +2356,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -3540,13 +3463,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -3700,13 +3616,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -3778,13 +3687,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -3816,13 +3718,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -3941,13 +3836,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -3986,13 +3874,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -4109,13 +3990,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand All @@ -4131,13 +4005,6 @@ paths:
responses:
'204':
description: The request was successful.
content:
text/plain:
schema:
$ref: '#/components/schemas/empty_response_body'
application/json:
schema:
$ref: '#/components/schemas/empty_response_body'
'400':
$ref: '#/components/responses/400_error_response'
'404':
Expand Down Expand Up @@ -4915,7 +4782,6 @@ components:
required:
- status
- original_address
- matched_address
- messages
additionalProperties: false
properties:
Expand All @@ -4929,6 +4795,7 @@ components:
matched_address:
nullable: true
readOnly: true
nullable: true
allOf:
- $ref: '#/components/schemas/address'
description: The matched address found by the Shipengine API
Expand Down

0 comments on commit 2147f27

Please sign in to comment.