Skip to content

Commit

Permalink
choosing one Retry-After type to eliminate ambiguity and fix redoc pa…
Browse files Browse the repository at this point in the history
…rser warnings
  • Loading branch information
catkins-miso committed Nov 14, 2024
1 parent 0bd8c51 commit 5445e09
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions docs/_spec/openapi-split.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -436,20 +436,12 @@ components:
maximum: 1000
Retry-After:
schema:
type: object
oneOf:
- type: integer
format: int32
minimum: 0
maximum: 60
example: 60
description: The seconds to delay after the response is received.
# TODO: the HTTP spec allows for this but we probably should not support it
- type: string
pattern: "^[A-Z][a-z]{2}, \\d{2} [A-Z][a-z]{2} \\d{4} \\d{2}:\\d{2}:\\d{2} GMT$"
maxLength: 30
example: 'Wed, 21 Oct 2022 07:28:00 GMT'
description: A date after which to retry.
type: integer
format: int32
minimum: 0
maximum: 60
example: 60
description: The seconds to delay after the response is received.
securitySchemes:
oauth2-primary-flow:
type: oauth2
Expand Down

0 comments on commit 5445e09

Please sign in to comment.