X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-rest%2Fpom.xml;h=cd5bc0d36d820e85fdb0383075c2b8b13265519e;hb=477bd46874d2c8266007358f9ca335b0442cea18;hp=f6f81006edefe3dba03a45674b9ddc99ea85b699;hpb=75dff29f61825b44a8bf09a3a95cb8ceea2ce444;p=cps.git diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml index f6f81006e..cd5bc0d36 100755 --- a/cps-rest/pom.xml +++ b/cps-rest/pom.xml @@ -28,7 +28,7 @@ org.onap.cps cps-parent - 3.3.3-SNAPSHOT + 3.3.8-SNAPSHOT ../cps-parent/pom.xml @@ -122,14 +122,23 @@ + + jakarta.validation + jakarta.validation-api + + + io.gsonfire + gson-fire + - io.swagger.codegen.v3 - swagger-codegen-maven-plugin + org.openapitools + openapi-generator-maven-plugin + 6.6.0 code-gen @@ -141,19 +150,37 @@ org.onap.cps.rest.controller org.onap.cps.rest.model org.onap.cps.rest.api - spring + spring false src/gen/java java11 true + true true + false + true + + + + + openapi-yaml-gen + + generate + + compile + + ${project.basedir}/docs/openapi/openapi.yml + openapi-yaml + + openapi.yaml + org.apache.maven.plugins maven-resources-plugin @@ -166,7 +193,7 @@ ${project.basedir}/target/classes/static/api-docs/cps-core - ${project.basedir}/target/generated-sources/swagger/ + ${project.basedir}/target/generated-sources/openapi/ openapi.yaml