From 1118bedbd3981c12aebcb9fa99e8744a9bf413c3 Mon Sep 17 00:00:00 2001 From: egernug Date: Wed, 28 Jun 2023 10:57:53 +0100 Subject: Change to OpenAPI 3.0 In preparation for Java 17 migration Swagger codegen needs to be replaced by OpenaAPI 3.0 Issue-ID: CPS-1745 Signed-off-by: egernug Change-Id: I46be8bafad5b5ccff055221e4f3c60b7ec422a70 --- pom.xml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 7a37f765..e35c840f 100644 --- a/pom.xml +++ b/pom.xml @@ -56,7 +56,7 @@ io.swagger.core.v3 swagger-annotations - 2.1.4 + 2.2.10 net.logstash.logback @@ -247,8 +247,9 @@ - io.swagger.codegen.v3 - swagger-codegen-maven-plugin + org.openapitools + openapi-generator-maven-plugin + 6.6.0 @@ -256,15 +257,19 @@ ${project.basedir}/openapi/openapi.yml - spring + spring false + org.onap.cps.ncmp.dmi.rest.controller org.onap.cps.ncmp.dmi.rest.api org.onap.cps.ncmp.dmi.model + true src/gen/java java11 true true + false + true @@ -276,7 +281,7 @@ compile ${project.basedir}/openapi/openapi.yml - openapi-yaml + openapi-yaml @@ -294,7 +299,7 @@ ${project.basedir}/target/classes/static/api-docs - ${project.basedir}/target/generated-sources/swagger/ + ${project.basedir}/target/generated-sources/openapi/openapi openapi.yaml -- cgit 1.2.3-korg