From 076b1b140925168e0c1eb0ffad2ae1e648010d1f Mon Sep 17 00:00:00 2001 From: egernug Date: Thu, 10 Oct 2024 10:11:27 +0100 Subject: Copy Swagger file to docs folder To avoid manual copy/paste errors updates to docs folder for RTD are generated and copied when compiling CPS Issue-ID: CPS-2332 Change-Id: I1a64f7cc74a82341403f8125adc5216ef046429c Signed-off-by: egernug --- cps-ncmp-rest/pom.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'cps-ncmp-rest') 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 @@ + + copy-to-docs-folder + compile + + copy-resources + + + ${project.basedir}/../docs/api/swagger/ncmp + true + + + ${project.basedir}/target/generated-sources/openapi/ + + openapi*.yaml + + + + + -- cgit 1.2.3-korg