Skip to content

Commit

Permalink
fix: renaming "EventType"-components to be more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
maxl2287 committed Apr 15, 2024
1 parent 4efdb56 commit 2ac5c12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/API_definitions/device-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2ac5c12

Please sign in to comment.