diff --git a/bundles/org.openhab.ui.cometvisu/pom.xml b/bundles/org.openhab.ui.cometvisu/pom.xml index 9855a611ef..3695091509 100644 --- a/bundles/org.openhab.ui.cometvisu/pom.xml +++ b/bundles/org.openhab.ui.cometvisu/pom.xml @@ -123,7 +123,7 @@ org.openapitools openapi-generator-maven-plugin - 4.3.0 + 7.0.1 @@ -141,6 +141,7 @@ org.openhab.ui.cometvisu.internal.backend.model.rest true false + REF_AS_PARENT_IN_ALLOF=true src-gen true diff --git a/bundles/org.openhab.ui.cometvisu/src/main/resources/openapi.yaml b/bundles/org.openhab.ui.cometvisu/src/main/resources/openapi.yaml index 106f57b5e9..ce688b51ba 100644 --- a/bundles/org.openhab.ui.cometvisu/src/main/resources/openapi.yaml +++ b/bundles/org.openhab.ui.cometvisu/src/main/resources/openapi.yaml @@ -238,7 +238,7 @@ paths: content: application/json: schema: - oneOf: + allOf: - $ref: '#/components/schemas/HiddenConfig' - $ref: '#/components/schemas/ConfigSection' - $ref: '#/components/schemas/ConfigOptionValue' @@ -477,7 +477,7 @@ components: additionalProperties: type: string ReadResponse: - oneOf: + allOf: - $ref: '#/components/schemas/DirContent' DirContent: type: array