Skip to content

Commit

Permalink
Add pattern for x-correlator & fix 429 documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bigludo7 authored Jan 28, 2025
1 parent a0b7970 commit 9d44258
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions code/API_definitions/location-verification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,13 @@ components:
description: Correlation id for the different services
schema:
type: string
pattern: ^[a-zA-Z0-9-]{0,55}$
headers:
x-correlator:
description: Correlation id for the different services
schema:
type: string
pattern: ^[a-zA-Z0-9-]{0,55}$
schemas:
Area:
description: Base schema for all areas
Expand Down Expand Up @@ -683,10 +685,10 @@ components:
value:
status: 429
code: QUOTA_EXCEEDED
message: Either out of resource quota or reaching rate limiting.
message: Out of resource quota.
GENERIC_429_TOO_MANY_REQUESTS:
description: API Server request limit is overpassed
description: Access to the API has been temporarily blocked due to rate or spike arrest limits being reached
value:
status: 429
code: TOO_MANY_REQUESTS
message: Either out of resource quota or reaching rate limiting.
message: Rate limit reached.

0 comments on commit 9d44258

Please sign in to comment.