From 787b3348a47854509dc3f26db034511de730e91b Mon Sep 17 00:00:00 2001 From: "angelo.andreussi" Date: Wed, 17 Jan 2024 16:20:35 +0100 Subject: [PATCH] change to openApi doc to insert xml type on device configuration endpoint --- .../deviceConfiguration-scopeId-deviceId-componentId.yaml | 6 ++++++ .../deviceConfiguration-scopeId-deviceId.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/rest-api/resources/src/main/resources/openapi/deviceConfiguration/deviceConfiguration-scopeId-deviceId-componentId.yaml b/rest-api/resources/src/main/resources/openapi/deviceConfiguration/deviceConfiguration-scopeId-deviceId-componentId.yaml index bbe0968dd8b..c9f2b096c50 100644 --- a/rest-api/resources/src/main/resources/openapi/deviceConfiguration/deviceConfiguration-scopeId-deviceId-componentId.yaml +++ b/rest-api/resources/src/main/resources/openapi/deviceConfiguration/deviceConfiguration-scopeId-deviceId-componentId.yaml @@ -30,6 +30,9 @@ paths: application/json: schema: $ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurations' + application/xml: + schema: + $ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurations' 401: $ref: '../openapi.yaml#/components/responses/unauthenticated' 403: @@ -53,6 +56,9 @@ paths: application/json: schema: $ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurationInput' + application/xml: + schema: + $ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurationInput' required: true responses: 204: diff --git a/rest-api/resources/src/main/resources/openapi/deviceConfiguration/deviceConfiguration-scopeId-deviceId.yaml b/rest-api/resources/src/main/resources/openapi/deviceConfiguration/deviceConfiguration-scopeId-deviceId.yaml index ebe9bd70a90..d3e2d33d21a 100644 --- a/rest-api/resources/src/main/resources/openapi/deviceConfiguration/deviceConfiguration-scopeId-deviceId.yaml +++ b/rest-api/resources/src/main/resources/openapi/deviceConfiguration/deviceConfiguration-scopeId-deviceId.yaml @@ -29,6 +29,9 @@ paths: application/json: schema: $ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurations' + application/xml: + schema: + $ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurations' 401: $ref: '../openapi.yaml#/components/responses/unauthenticated' 403: @@ -51,6 +54,9 @@ paths: application/json: schema: $ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurationsInput' + application/xml: + schema: + $ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurationsInput' required: true responses: 204: