Skip to content

Commit

Permalink
Merge pull request #261 from maxl2287/fix/update-errormessage-for-uns…
Browse files Browse the repository at this point in the history
…upported-device-identifieres

Update errormessage for unsupported device identifieres
  • Loading branch information
jlurien authored Nov 19, 2024
2 parents bc27289 + ff137e9 commit c300186
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions code/API_definitions/location-retrieval.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ info:
# Further info and support
(FAQs will be added in a later version of the documentation)
version: 0.3.0
version: wip
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
Expand All @@ -96,7 +96,7 @@ externalDocs:
description: Project documentation at Camara
url: https://github.com/camaraproject/DeviceLocation
servers:
- url: '{apiRoot}/location-retrieval/v0.3'
- url: '{apiRoot}/location-retrieval/vwip'
variables:
apiRoot:
default: http://localhost:9091
Expand Down Expand Up @@ -519,8 +519,8 @@ components:
$ref: '#/components/schemas/ErrorInfo'
examples:
LOCATION_RETRIEVAL_422_UNABLE_TO_FULFILL_MAX_AGE:
summary: Unable to provide expected frehsness
description: Unable to provide expected frehsness for location retrieval request
summary: Unable to provide expected freshness
description: Unable to provide expected freshness for location retrieval request
value:
status: 422
code: LOCATION_RETRIEVAL.UNABLE_TO_FULFILL_MAX_AGE
Expand Down Expand Up @@ -552,7 +552,7 @@ components:
value:
status: 422
code: UNSUPPORTED_DEVICE_IDENTIFIERS
message: "Supported device supported are: ..."
message: "Supported device identifiers are: ..."
GENERIC_422_UNIDENTIFIABLE_DEVICE:
summary: No identifier provided
description: No device identifier provided for the device to be located
Expand Down
6 changes: 3 additions & 3 deletions code/API_definitions/location-verification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ info:
# Further info and support
(FAQs will be added in a later version of the documentation)
version: 1.0.0
version: wip
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
Expand All @@ -89,7 +89,7 @@ externalDocs:
description: Project documentation at CAMARA
url: https://github.com/camaraproject/DeviceLocation
servers:
- url: "{apiRoot}/location-verification/v1"
- url: "{apiRoot}/location-verification/vwip"
variables:
apiRoot:
default: http://localhost:9091
Expand Down Expand Up @@ -600,7 +600,7 @@ components:
value:
status: 422
code: UNSUPPORTED_DEVICE_IDENTIFIERS
message: "Supported device supported are: ..."
message: "Supported device identifiers are: ..."
GENERIC_422_UNIDENTIFIABLE_DEVICE:
summary: No identifier provided
description: No device identifier provided for the device to be located
Expand Down

0 comments on commit c300186

Please sign in to comment.