Skip to content

Commit

Permalink
Merge pull request #177 from trolie/175-cleanup410
Browse files Browse the repository at this point in the history
remove 410 Gone from "current" snapshots, clarify use for unique time-bound static ratings
  • Loading branch information
getorymckeag authored Oct 9, 2024
2 parents f10ed61 + 893d863 commit 499aa1e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 13 deletions.
10 changes: 7 additions & 3 deletions docs/_data/openapi-split.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,14 @@ components:
<<: *rate-limited
description: Not Acceptable (Content negotiation failed)
content: *problem
'410-empty':
'410-problem':
<<: *rate-limited
description: Gone
content: *empty
description: |
Gone. The requested resource is no longer available. TROLIE
implementations MAY return this status code when a resource is known to
have been deleted or archived, if the authenticated client would
otherwise have had authorized access to the resource.
content: *problem
'413-empty':
<<: *rate-limited
description: Payload too large
Expand Down
2 changes: 0 additions & 2 deletions docs/_data/paths/limits_forecast-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ get:
$ref: '../openapi-split.yaml#/components/responses/404-empty'
'406':
$ref: '../openapi-split.yaml#/components/responses/406-empty'
'410':
$ref: '../openapi-split.yaml#/components/responses/410-empty'
'429':
$ref: '../openapi-split.yaml#/components/responses/429-empty'
'500': &unexpected-error-empty
Expand Down
2 changes: 0 additions & 2 deletions docs/_data/paths/seasonal-overrides.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ get:
$ref: '../openapi-split.yaml#/components/responses/404-empty'
'406': &not-acceptable-empty
$ref: '../openapi-split.yaml#/components/responses/406-empty'
'410':
$ref: '../openapi-split.yaml#/components/responses/410-empty'
'429': &rate-limit-hit
$ref: '../openapi-split.yaml#/components/responses/429-empty'
'500': &unexpected-error-empty
Expand Down
2 changes: 1 addition & 1 deletion docs/_data/paths/seasonal-overrides_{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ get:
'406': &not-acceptable-empty
$ref: '../openapi-split.yaml#/components/responses/406-empty'
'410':
$ref: '../openapi-split.yaml#/components/responses/410-empty'
$ref: '../openapi-split.yaml#/components/responses/410-problem'
'429': &rate-limit-hit
$ref: '../openapi-split.yaml#/components/responses/429-empty'
'500': &unexpected-error-empty
Expand Down
2 changes: 0 additions & 2 deletions docs/_data/paths/seasonal-ratings-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ get:
$ref: '../openapi-split.yaml#/components/responses/404-empty'
'406':
$ref: '../openapi-split.yaml#/components/responses/406-empty'
'410':
$ref: '../openapi-split.yaml#/components/responses/410-empty'
'429':
$ref: '../openapi-split.yaml#/components/responses/429-empty'
'500': &unexpected-error-empty
Expand Down
2 changes: 0 additions & 2 deletions docs/_data/paths/temporary-aar-exceptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ get:
$ref: '../openapi-split.yaml#/components/responses/404-empty'
'406': &not-acceptable-empty
$ref: '../openapi-split.yaml#/components/responses/406-empty'
'410':
$ref: '../openapi-split.yaml#/components/responses/410-empty'
'429': &rate-limit-hit
$ref: '../openapi-split.yaml#/components/responses/429-empty'
'500': &unexpected-error-empty
Expand Down
2 changes: 1 addition & 1 deletion docs/_data/paths/temporary-aar-exceptions_{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ get:
'406': &not-acceptable-empty
$ref: '../openapi-split.yaml#/components/responses/406-empty'
'410':
$ref: '../openapi-split.yaml#/components/responses/410-empty'
$ref: '../openapi-split.yaml#/components/responses/410-problem'
'429': &rate-limit-hit
$ref: '../openapi-split.yaml#/components/responses/429-empty'
'500': &unexpected-error-empty
Expand Down

0 comments on commit 499aa1e

Please sign in to comment.