From 1cae6c5267fdfa5cd8336c6361963535608dfa09 Mon Sep 17 00:00:00 2001 From: Eric Murray Date: Tue, 7 Jul 2026 16:47:39 +0100 Subject: [PATCH] Append Local to overridden schema to avoid renaming warnings --- .../device-reachability-status-subscriptions.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/API_definitions/device-reachability-status-subscriptions.yaml b/code/API_definitions/device-reachability-status-subscriptions.yaml index 367ed24..cd90c59 100644 --- a/code/API_definitions/device-reachability-status-subscriptions.yaml +++ b/code/API_definitions/device-reachability-status-subscriptions.yaml @@ -400,21 +400,21 @@ components: $ref: "../common/CAMARA_event_common.yaml#/components/schemas/SubscriptionId" schemas: - CreateSubscriptionDetail: + CreateSubscriptionDetailLocal: description: The detail of the requested event subscription. type: object properties: device: $ref: "../common/CAMARA_common.yaml#/components/schemas/Device" - Config2: + ConfigLocal: description: Config schema allowing for device to be specified as part of subscription detail allOf: - $ref: "../common/CAMARA_event_common.yaml#/components/schemas/Config" - type: object properties: subscriptionDetail: - $ref: "#/components/schemas/CreateSubscriptionDetail" + $ref: "#/components/schemas/CreateSubscriptionDetailLocal" ApiEventType: type: string @@ -484,7 +484,7 @@ components: items: $ref: "#/components/schemas/ApiEventType" config: - $ref: "#/components/schemas/Config2" + $ref: "#/components/schemas/ConfigLocal" id: $ref: "../common/CAMARA_event_common.yaml#/components/schemas/SubscriptionId" startsAt: @@ -561,7 +561,7 @@ components: items: $ref: "#/components/schemas/ApiEventType" config: - $ref: "#/components/schemas/Config2" + $ref: "#/components/schemas/ConfigLocal" discriminator: propertyName: protocol mapping: