summaryrefslogtreecommitdiffstats
path: root/cps-parent
diff options
context:
space:
mode:
Diffstat (limited to 'cps-parent')
-rwxr-xr-xcps-parent/pom.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml
index 46594dabe..e8861006e 100755
--- a/cps-parent/pom.xml
+++ b/cps-parent/pom.xml
@@ -123,6 +123,19 @@
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>3.0.27</version>
+ <executions>
+ <execution>
+ <id>openapi-yaml-gen</id>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <phase>compile</phase>
+ <configuration>
+ <inputSpec>${project.basedir}/docs/openapi/openapi.yml</inputSpec>
+ <language>openapi-yaml</language>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>com.github.spotbugs</groupId>