From 9a0907defb3150683a985c4b74b5351a0305936f Mon Sep 17 00:00:00 2001 From: "angelo.andreussi" Date: Wed, 17 Jan 2024 15:48:23 +0100 Subject: [PATCH] change to openApi doc to insert xml type on device snapshots endpoint --- .../deviceSnapshot-scopeId-deviceId-snapshotId.yaml | 3 +++ .../deviceSnapshot/deviceSnapshot-scopeId-deviceId.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/rest-api/resources/src/main/resources/openapi/deviceSnapshot/deviceSnapshot-scopeId-deviceId-snapshotId.yaml b/rest-api/resources/src/main/resources/openapi/deviceSnapshot/deviceSnapshot-scopeId-deviceId-snapshotId.yaml index 4ce1df97a86..7f9a14d2fa6 100644 --- a/rest-api/resources/src/main/resources/openapi/deviceSnapshot/deviceSnapshot-scopeId-deviceId-snapshotId.yaml +++ b/rest-api/resources/src/main/resources/openapi/deviceSnapshot/deviceSnapshot-scopeId-deviceId-snapshotId.yaml @@ -30,6 +30,9 @@ paths: application/json: schema: $ref: '../deviceConfiguration/deviceConfiguration.yaml#/components/schemas/componentConfigurations' + application/xml: + schema: + $ref: '../deviceConfiguration/deviceConfiguration.yaml#/components/schemas/componentConfigurations' 401: $ref: '../openapi.yaml#/components/responses/unauthenticated' 403: diff --git a/rest-api/resources/src/main/resources/openapi/deviceSnapshot/deviceSnapshot-scopeId-deviceId.yaml b/rest-api/resources/src/main/resources/openapi/deviceSnapshot/deviceSnapshot-scopeId-deviceId.yaml index ebd9e396dcc..da5debadbff 100644 --- a/rest-api/resources/src/main/resources/openapi/deviceSnapshot/deviceSnapshot-scopeId-deviceId.yaml +++ b/rest-api/resources/src/main/resources/openapi/deviceSnapshot/deviceSnapshot-scopeId-deviceId.yaml @@ -29,6 +29,9 @@ paths: application/json: schema: $ref: './deviceSnapshot.yaml#/components/schemas/snapshots' + application/xml: + schema: + $ref: './deviceSnapshot.yaml#/components/schemas/snapshots' 401: $ref: '../openapi.yaml#/components/responses/unauthenticated' 403: