From 8c3dd23ef4d2a1fb75b639ad1e0819e0ee6a288f Mon Sep 17 00:00:00 2001 From: Maximilian Laue Date: Thu, 26 Sep 2024 23:08:37 +0200 Subject: [PATCH 1/5] fix: error message for unsupported device identifiers --- code/API_definitions/location-retrieval.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/API_definitions/location-retrieval.yaml b/code/API_definitions/location-retrieval.yaml index a1e09e1..a1da749 100644 --- a/code/API_definitions/location-retrieval.yaml +++ b/code/API_definitions/location-retrieval.yaml @@ -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 From 17cf900ac4f10410aae6f55a67838886c45e92f0 Mon Sep 17 00:00:00 2001 From: Maximilian Laue Date: Thu, 26 Sep 2024 23:10:48 +0200 Subject: [PATCH 2/5] fix: error message for unsupported device identifiers --- code/API_definitions/location-verification.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/API_definitions/location-verification.yaml b/code/API_definitions/location-verification.yaml index f988198..ae5eaaf 100644 --- a/code/API_definitions/location-verification.yaml +++ b/code/API_definitions/location-verification.yaml @@ -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 From bf0798e9dd21d40a364f91144d2aa5d5a28cdf8f Mon Sep 17 00:00:00 2001 From: Maximilian Laue Date: Thu, 26 Sep 2024 23:17:58 +0200 Subject: [PATCH 3/5] fix: typo for `freshness` --- code/API_definitions/location-retrieval.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/API_definitions/location-retrieval.yaml b/code/API_definitions/location-retrieval.yaml index a1da749..290242d 100644 --- a/code/API_definitions/location-retrieval.yaml +++ b/code/API_definitions/location-retrieval.yaml @@ -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 @@ -548,11 +548,11 @@ components: message: "The provided device identifiers do not match the same device" GENERIC_422_UNSUPPORTED_DEVICE_IDENTIFIERS: summary: None of the provided device identifiers is supported by the implementation - description: Message may list the supported device identifiers + description: Message identifies that none of the provided device identifiers are supported value: status: 422 code: UNSUPPORTED_DEVICE_IDENTIFIERS - message: "Supported device identifiers are: ..." + message: None of the provided device identifiers is supported by the implementation GENERIC_422_UNIDENTIFIABLE_DEVICE: summary: No identifier provided description: No device identifier provided for the device to be located From 3256a398088f3a121dee05cbac9444547e7a1a4f Mon Sep 17 00:00:00 2001 From: Maximilian Laue Date: Fri, 27 Sep 2024 09:50:06 +0200 Subject: [PATCH 4/5] fix: align with error message location-retrieval.yaml --- code/API_definitions/location-retrieval.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/API_definitions/location-retrieval.yaml b/code/API_definitions/location-retrieval.yaml index 290242d..4b7e40b 100644 --- a/code/API_definitions/location-retrieval.yaml +++ b/code/API_definitions/location-retrieval.yaml @@ -548,11 +548,11 @@ components: message: "The provided device identifiers do not match the same device" GENERIC_422_UNSUPPORTED_DEVICE_IDENTIFIERS: summary: None of the provided device identifiers is supported by the implementation - description: Message identifies that none of the provided device identifiers are supported + description: Message may list the supported device identifiers value: status: 422 code: UNSUPPORTED_DEVICE_IDENTIFIERS - message: None of the provided device identifiers is supported by the implementation + message: "Supported device identifiers are: ..." GENERIC_422_UNIDENTIFIABLE_DEVICE: summary: No identifier provided description: No device identifier provided for the device to be located From 0f82d9a147a5ade5317c3a9694c38fd188f0512c Mon Sep 17 00:00:00 2001 From: Maximilian Laue Date: Wed, 9 Oct 2024 10:20:26 +0200 Subject: [PATCH 5/5] fix: update versions to "wip" --- code/API_definitions/location-retrieval.yaml | 2 +- code/API_definitions/location-verification.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/API_definitions/location-retrieval.yaml b/code/API_definitions/location-retrieval.yaml index 4b7e40b..495c7ff 100644 --- a/code/API_definitions/location-retrieval.yaml +++ b/code/API_definitions/location-retrieval.yaml @@ -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 diff --git a/code/API_definitions/location-verification.yaml b/code/API_definitions/location-verification.yaml index ae5eaaf..28c50ed 100644 --- a/code/API_definitions/location-verification.yaml +++ b/code/API_definitions/location-verification.yaml @@ -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