From db1eaaad378878a86cbd1238c2922b832db68570 Mon Sep 17 00:00:00 2001 From: Dominik Fischer Date: Tue, 19 Nov 2024 08:28:22 +0100 Subject: [PATCH] fix: remove allof in sinkcredential --- .../device-reachability-status-subscriptions.yaml | 5 ++--- .../API_definitions/device-roaming-status-subscriptions.yaml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/code/API_definitions/device-reachability-status-subscriptions.yaml b/code/API_definitions/device-reachability-status-subscriptions.yaml index f5e8cd7..0b3ff0a 100644 --- a/code/API_definitions/device-reachability-status-subscriptions.yaml +++ b/code/API_definitions/device-reachability-status-subscriptions.yaml @@ -354,9 +354,7 @@ components: description: The address to which events shall be delivered using the selected protocol. example: "https://endpoint.example.com/sink" sinkCredential: - allOf: - - description: A sink credential provides authentication or authorization information necessary to enable delivery of events to a target. - - $ref: "#/components/schemas/SinkCredential" + $ref: "#/components/schemas/SinkCredential" types: description: | Camara Event types eligible to be delivered by this subscription. @@ -413,6 +411,7 @@ components: Example: Consumer subscribes to reachability SMS. If consumer sets initialEvent to true and device is already reachable by SMS, an event is triggered. SinkCredential: + description: A sink credential provides authentication or authorization information necessary to enable delivery of events to a target. type: object properties: credentialType: diff --git a/code/API_definitions/device-roaming-status-subscriptions.yaml b/code/API_definitions/device-roaming-status-subscriptions.yaml index 7d074e4..678a32d 100644 --- a/code/API_definitions/device-roaming-status-subscriptions.yaml +++ b/code/API_definitions/device-roaming-status-subscriptions.yaml @@ -354,9 +354,7 @@ components: description: The address to which events shall be delivered using the selected protocol. example: "https://endpoint.example.com/sink" sinkCredential: - allOf: - - description: A sink credential provides authentication or authorization information necessary to enable delivery of events to a target. - - $ref: "#/components/schemas/SinkCredential" + $ref: "#/components/schemas/SinkCredential" types: description: | Camara Event types eligible to be delivered by this subscription. @@ -413,6 +411,7 @@ components: Example: Consumer subscribes to roaming-on. If consumer sets initialEvent to true and the device is already roaming-on, an event is triggered. SinkCredential: + description: A sink credential provides authentication or authorization information necessary to enable delivery of events to a target. type: object properties: credentialType: