diff --git a/bundles/org.openhab.ui.cometvisu/pom.xml b/bundles/org.openhab.ui.cometvisu/pom.xml index 6a6412d4e4..fa4f245d3a 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..c167077b7e 100644 --- a/bundles/org.openhab.ui.cometvisu/src/main/resources/openapi.yaml +++ b/bundles/org.openhab.ui.cometvisu/src/main/resources/openapi.yaml @@ -477,7 +477,7 @@ components: additionalProperties: type: string ReadResponse: - oneOf: + allOf: - $ref: '#/components/schemas/DirContent' DirContent: type: array