aboutsummaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-acelement/pom.xml
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-12-06 15:46:31 +0000
committerGerrit Code Review <gerrit@onap.org>2022-12-06 15:46:31 +0000
commitaea051f76fcb04579e1cc3ec3337fc16a847b428 (patch)
tree7c0838030ac0f10048f1edb8c9913c03172b2b6f /participant/participant-impl/participant-impl-acelement/pom.xml
parent6f3447836b04f2fbea1fa4fca526d549bec42661 (diff)
parentcf5af3fd2e67b0aef402114a0f3ae263fdfc7efe (diff)
Merge "Replace SpringFox with SpringDoc in CLAMP"
Diffstat (limited to 'participant/participant-impl/participant-impl-acelement/pom.xml')
-rw-r--r--participant/participant-impl/participant-impl-acelement/pom.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/participant/participant-impl/participant-impl-acelement/pom.xml b/participant/participant-impl/participant-impl-acelement/pom.xml
index 0349dfd64..9ff4d109a 100644
--- a/participant/participant-impl/participant-impl-acelement/pom.xml
+++ b/participant/participant-impl/participant-impl-acelement/pom.xml
@@ -36,6 +36,36 @@
<build>
<plugins>
<plugin>
+ <groupId>io.swagger.codegen.v3</groupId>
+ <artifactId>swagger-codegen-maven-plugin</artifactId>
+ <version>${version.swagger.codegen.v3}</version>
+ <executions>
+ <execution>
+ <id>code-gen</id>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <inputSpec>${project.basedir}/src/main/resources/openapi/openapi.yaml</inputSpec>
+ <invokerPackage>org.onap.policy.clamp.acm.runtime.main.rest</invokerPackage>
+ <apiPackage>org.onap.policy.clamp.acm.element.main.rest.genapi</apiPackage>
+ <language>spring</language>
+ <generateModels>false</generateModels>
+ <generateSupportingFiles>false</generateSupportingFiles>
+ <importMappings>
+ ElementConfig=org.onap.policy.clamp.models.acm.messages.rest.element.ElementConfig
+ </importMappings>
+ <configOptions>
+ <sourceFolder>src/gen/java</sourceFolder>
+ <dateLibrary>java11</dateLibrary>
+ <interfaceOnly>true</interfaceOnly>
+ <useTags>true</useTags>
+ </configOptions>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>