X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-rest%2Fpom.xml;h=f99e48f11a876ce3639c6f35b25a43f33143dd01;hb=c29a5fe32db7efb0fdefa3a3d020110aab9731b4;hp=c27e515b7743dac8f9083c68729873c5d4b32dcb;hpb=0b8d85da2003f6e9f56b0c2b6cb0b07d6c42181b;p=cps.git
diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml
index c27e515b7..f99e48f11 100755
--- a/cps-rest/pom.xml
+++ b/cps-rest/pom.xml
@@ -2,7 +2,7 @@
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
@@ -72,7 +82,6 @@
org.springdoc
springdoc-openapi-ui
- 1.5.11
org.apache.commons
@@ -129,8 +138,9 @@
- io.swagger.codegen.v3
- swagger-codegen-maven-plugin
+ org.openapitools
+ openapi-generator-maven-plugin
+ 6.6.0
code-gen
@@ -142,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
@@ -167,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