summaryrefslogtreecommitdiffstats
path: root/cps-rest
diff options
context:
space:
mode:
Diffstat (limited to 'cps-rest')
-rw-r--r--cps-rest/pom.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/cps-rest/pom.xml b/cps-rest/pom.xml
index 20fb299948..7b36718bcc 100644
--- a/cps-rest/pom.xml
+++ b/cps-rest/pom.xml
@@ -196,6 +196,25 @@
</resources>
</configuration>
</execution>
+ <execution>
+ <id>copy-to-doc-folder</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.basedir}/../docs/api/swagger/cps</outputDirectory>
+ <overwrite>true</overwrite>
+ <resources>
+ <resource>
+ <directory>${project.basedir}/target/generated-sources/openapi/</directory>
+ <includes>
+ <include>openapi.yaml</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>