diff options
Diffstat (limited to 'cps-parent')
-rwxr-xr-x | cps-parent/pom.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index 46594dabe9..e8861006e0 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> |