From 2ac5c1212dc16286b875b5fd3ac23b3cf32acc90 Mon Sep 17 00:00:00 2001 From: Maximilian Laue Date: Mon, 15 Apr 2024 13:59:43 +0200 Subject: [PATCH] fix: renaming "EventType"-components to be more clear --- code/API_definitions/device-status.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/API_definitions/device-status.yaml b/code/API_definitions/device-status.yaml index 655712b..bbc8490 100644 --- a/code/API_definitions/device-status.yaml +++ b/code/API_definitions/device-status.yaml @@ -664,9 +664,9 @@ components: device: $ref: "#/components/schemas/Device" type: - $ref: "#/components/schemas/SubscriptionCreationEventType" + $ref: "#/components/schemas/SubscriptionEventType" - SubscriptionEventType: + NotificationEventType: type: string description: | roaming-status - Event triggered when the device switch from roaming ON to roaming OFF and conversely @@ -694,7 +694,7 @@ components: - org.camaraproject.device-status.v0.connectivity-disconnected - org.camaraproject.device-status.v0.subscription-ends - SubscriptionCreationEventType: + SubscriptionEventType: type: string description: | roaming-status - Event triggered when the device switch from roaming ON to roaming OFF and conversely @@ -769,7 +769,7 @@ components: source: $ref: "#/components/schemas/Source" type: - $ref: "#/components/schemas/SubscriptionEventType" + $ref: "#/components/schemas/NotificationEventType" specversion: type: string description: Version of the specification to which this event conforms (must be 1.0 if it conforms to cloudevents 1.0.2 version)