Skip to content

Commit

Permalink
feat: defined 423 at apigateway_responses and response level
Browse files Browse the repository at this point in the history
  • Loading branch information
MueezKhan246 committed Sep 30, 2024
1 parent def6fce commit af8625f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
14 changes: 6 additions & 8 deletions api-compact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ apigateway_responses: &apigateway_responses
statusCode: "403"
404:
statusCode: "404"
423:
statusCode: "423"
429:
statusCode: "429"
500:
Expand Down Expand Up @@ -112,6 +114,8 @@ responses: &responses
description: "Forbidden"
404:
description: "Not Found"
423:
description: "Locked"
429:
description: "Too Many Requests"
500:
Expand Down Expand Up @@ -237,15 +241,9 @@ endpoints:
notify_users:
description: "Send license assignment email or not."
type: "boolean"
responses:
<<: *responses
423:
description: "Locked"
responses: *responses
x-amazon-apigateway-integration:
responses:
<<: *apigateway_responses
423:
statusCode: "423"
responses: *apigateway_responses
httpMethod: "POST"
type: "http"
requestParameters:
Expand Down
8 changes: 8 additions & 0 deletions api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ apigateway_responses:
statusCode: "403"
"404":
statusCode: "404"
"423":
statusCode: "423"
"429":
statusCode: "429"
"500":
Expand Down Expand Up @@ -92,6 +94,8 @@ responses:
description: Forbidden
"404":
description: Not Found
"423":
description: Locked
"429":
description: Too Many Requests
"500":
Expand Down Expand Up @@ -384,6 +388,8 @@ endpoints:
description: Forbidden
"404":
description: Not Found
"423":
description: Locked
"429":
description: Too Many Requests
"500":
Expand All @@ -400,6 +406,8 @@ endpoints:
statusCode: "403"
"404":
statusCode: "404"
"423":
statusCode: "423"
"429":
statusCode: "429"
"500":
Expand Down

0 comments on commit af8625f

Please sign in to comment.