X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-rest%2Fpom.xml;h=cd5bc0d36d820e85fdb0383075c2b8b13265519e;hb=fbc17e6df9192a9a7bd257d47a07e30ab7ff3322;hp=0ca5fb6aa58e086f82254e0aafb559398df25bb9;hpb=fb86f1d39531871a4af1839e00f8b1520e96da95;p=cps.git diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml index 0ca5fb6aa..cd5bc0d36 100755 --- a/cps-rest/pom.xml +++ b/cps-rest/pom.xml @@ -2,6 +2,7 @@ @@ -118,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 @@ -137,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 @@ -162,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