Skip to content

Commit

Permalink
fix: move AreaNotCovered example to 422 instead of 400
Browse files Browse the repository at this point in the history
  • Loading branch information
maxl2287 committed Jul 3, 2024
1 parent 940669a commit 393b7c1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions code/API_definitions/geofencing-subscriptions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1106,11 +1106,6 @@ components:
status: 400
code: "INVALID_TOKEN"
message: "Only bearer token is supported"
AreaNotCovered:
value:
status: 400
code: "AREA_NOT_COVERED"
message: "The specified area cannot be covered or is too small to be valid"

Generic400:
description: Problem with the client request
Expand Down Expand Up @@ -1239,6 +1234,11 @@ components:
status: 422
code: "MULTIEVENT_SUBSCRIPTION_NOT_SUPPORTED"
message: "Multi event types subscription not managed"
AreaNotCovered:
value:
status: 422
code: "AREA_NOT_COVERED"
message: "The specified area cannot be covered or is too small to be valid"
Generic429:
description: Too Many Requests
headers:
Expand Down

0 comments on commit 393b7c1

Please sign in to comment.