X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=cps-rest%2Fpom.xml;h=9e484afccc16e623b2a451baaa58194b45c6a380;hb=cf57145a5b92335d00a566005d709b9e46158382;hp=f6f81006edefe3dba03a45674b9ddc99ea85b699;hpb=cbf4044e840ea9473cd42f0a47c53dcafee8ba94;p=cps.git diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml old mode 100755 new mode 100644 index f6f81006e..9e484afcc --- a/cps-rest/pom.xml +++ b/cps-rest/pom.xml @@ -28,7 +28,7 @@ org.onap.cps cps-parent - 3.3.3-SNAPSHOT + 3.4.7-SNAPSHOT ../cps-parent/pom.xml @@ -39,6 +39,7 @@ ${project.groupId} cps-service + org.springframework.boot spring-boot-starter-web @@ -65,6 +66,15 @@ org.springframework spring-aspects + + + jakarta.validation + jakarta.validation-api + + + io.gsonfire + gson-fire + io.swagger.core.v3 swagger-annotations @@ -128,8 +138,9 @@ - io.swagger.codegen.v3 - swagger-codegen-maven-plugin + org.openapitools + openapi-generator-maven-plugin + 6.6.0 code-gen @@ -141,19 +152,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 +195,7 @@ ${project.basedir}/target/classes/static/api-docs/cps-core - ${project.basedir}/target/generated-sources/swagger/ + ${project.basedir}/target/generated-sources/openapi/ openapi.yaml