diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2024-10-14 12:13:35 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-10-14 12:13:35 +0000 |
commit | 2e6504ce4fd8bb6f845883729be2b0d9385e71f7 (patch) | |
tree | ed1507b40aff141aa8e200a5e5505e6870b3a9bb | |
parent | de910dce42459035b24f3b1ff2f843152312518a (diff) | |
parent | 076b1b140925168e0c1eb0ffad2ae1e648010d1f (diff) |
Merge "Copy Swagger file to docs folder"
-rw-r--r-- | cps-ncmp-rest/pom.xml | 19 | ||||
-rw-r--r-- | cps-rest/pom.xml | 19 |
2 files changed, 38 insertions, 0 deletions
diff --git a/cps-ncmp-rest/pom.xml b/cps-ncmp-rest/pom.xml index d46767e72c..e6c01cbe8a 100644 --- a/cps-ncmp-rest/pom.xml +++ b/cps-ncmp-rest/pom.xml @@ -231,6 +231,25 @@ </resources> </configuration> </execution> + <execution> + <id>copy-to-docs-folder</id> + <phase>compile</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${project.basedir}/../docs/api/swagger/ncmp</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> 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> |