From 021941682ee39853fef9d00c4659c7be6393d767 Mon Sep 17 00:00:00 2001 From: Dominik Fischer Date: Tue, 19 Nov 2024 07:55:00 +0100 Subject: [PATCH 1/2] fix: remove allof in sinkcredential --- code/API_definitions/sim-swap-subscriptions.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/API_definitions/sim-swap-subscriptions.yaml b/code/API_definitions/sim-swap-subscriptions.yaml index fdeaa2d..8e0dfb7 100644 --- a/code/API_definitions/sim-swap-subscriptions.yaml +++ b/code/API_definitions/sim-swap-subscriptions.yaml @@ -366,9 +366,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 for subscription: @@ -420,6 +418,7 @@ components: example: 2025-01-17T13:18:23.682Z description: The subscription expiration time (in date-time format) requested by the API consumer. Up to API project decision to keep it. SinkCredential: + description: A sink credential provides authentication or authorization information necessary to enable delivery of events to a target. type: object properties: credentialType: From 02c11fd1a211eb44c23aa0bc704882bd8b24efa6 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Thu, 19 Dec 2024 11:34:49 +0100 Subject: [PATCH 2/2] Changed the version to wip --- code/API_definitions/sim-swap-subscriptions.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/API_definitions/sim-swap-subscriptions.yaml b/code/API_definitions/sim-swap-subscriptions.yaml index 8e0dfb7..2428e03 100644 --- a/code/API_definitions/sim-swap-subscriptions.yaml +++ b/code/API_definitions/sim-swap-subscriptions.yaml @@ -61,14 +61,14 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 0.1.1 + version: wip x-camara-commonalities: 0.4.0 externalDocs: description: Product documentation at CAMARA url: https://github.com/camaraproject/ servers: - - url: '{apiRoot}/sim-swap-subscriptions/v0.1' + - url: '{apiRoot}/sim-swap-subscriptions/vwip' variables: apiRoot: