summaryrefslogtreecommitdiffstats
path: root/participant/participant-impl/participant-impl-simulator/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'participant/participant-impl/participant-impl-simulator/pom.xml')
-rw-r--r--participant/participant-impl/participant-impl-simulator/pom.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/participant/participant-impl/participant-impl-simulator/pom.xml b/participant/participant-impl/participant-impl-simulator/pom.xml
index da5b7632e..2fd8c3703 100644
--- a/participant/participant-impl/participant-impl-simulator/pom.xml
+++ b/participant/participant-impl/participant-impl-simulator/pom.xml
@@ -34,6 +34,38 @@
<build>
<plugins>
<plugin>
+ <groupId>io.swagger.codegen.v3</groupId>
+ <artifactId>swagger-codegen-maven-plugin</artifactId>
+ <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.participant.sim.controller</invokerPackage>
+ <apiPackage>org.onap.policy.clamp.acm.participant.sim.controller.genapi</apiPackage>
+ <language>spring</language>
+ <generateModels>false</generateModels>
+ <generateSupportingFiles>false</generateSupportingFiles>
+ <importMappings>
+ AutomationCompositions=org.onap.policy.clamp.models.acm.concepts.AutomationCompositions,
+ InternalDatas=org.onap.policy.clamp.acm.participant.sim.model.InternalDatas,
+ InternalData=org.onap.policy.clamp.acm.participant.sim.model.InternalData,
+ SimConfig=org.onap.policy.clamp.acm.participant.sim.model.SimConfig
+ </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>