From 79a4efbd1a96742416f2bc4f9228016f02779fa9 Mon Sep 17 00:00:00 2001 From: Dominik Fischer Date: Sun, 22 Sep 2024 09:16:52 +0200 Subject: [PATCH] feat: corrected the examples --- .../device-reachability-status-subscriptions.yaml | 2 +- code/API_definitions/device-roaming-status-subscriptions.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/API_definitions/device-reachability-status-subscriptions.yaml b/code/API_definitions/device-reachability-status-subscriptions.yaml index 2278006..8af6825 100644 --- a/code/API_definitions/device-reachability-status-subscriptions.yaml +++ b/code/API_definitions/device-reachability-status-subscriptions.yaml @@ -1143,7 +1143,7 @@ components: schema: $ref: "#/components/schemas/ErrorInfo" examples: - PermissionDenied: + MultieventSubscriptionNotSupported: value: status: 422 code: MULTIEVENT_SUBSCRIPTION_NOT_SUPPORTED diff --git a/code/API_definitions/device-roaming-status-subscriptions.yaml b/code/API_definitions/device-roaming-status-subscriptions.yaml index 7dfb497..96066d9 100644 --- a/code/API_definitions/device-roaming-status-subscriptions.yaml +++ b/code/API_definitions/device-roaming-status-subscriptions.yaml @@ -410,7 +410,7 @@ components: type: boolean description: | Set to `true` by API consumer if consumer wants to get an event as soon as the subscription is created and current situation reflects event request. - Example: Consumer subscribes to reachability SMS. If consumer sets initialEvent to true and device is already reachable by SMS, an event is triggered. + Example: Consumer subscribes to roaming-on. If consumer sets initialEvent to true and the device is already roaming-on, an event is triggered. SinkCredential: type: object @@ -1200,7 +1200,7 @@ components: schema: $ref: "#/components/schemas/ErrorInfo" examples: - PermissionDenied: + MultieventSubscriptionNotSupported: value: status: 422 code: MULTIEVENT_SUBSCRIPTION_NOT_SUPPORTED