From 4d520016514834bef903401518be5989b390874a Mon Sep 17 00:00:00 2001 From: Renu Kumari Date: Mon, 30 Aug 2021 11:50:43 -0400 Subject: Add ncmp endpoints to swagger-ui - added ncmp-enpoints to swagger-ui - removed springfox dependencies - removed Docket configuration as we are loading ui from openapi.yml - removed endpoints which are not implemented - Fixed ncmp basepath as per CPS-616 Issue-ID: CPS-601 Issue-ID: CPS-616 Signed-off-by: Renu Kumari Change-Id: I03c7789f48a12d3ffd5fcb934d7ba6347d4044e4 --- cps-ncmp-rest/pom.xml | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) (limited to 'cps-ncmp-rest/pom.xml') diff --git a/cps-ncmp-rest/pom.xml b/cps-ncmp-rest/pom.xml index dbe1af0973..d3de688e23 100644 --- a/cps-ncmp-rest/pom.xml +++ b/cps-ncmp-rest/pom.xml @@ -2,6 +2,7 @@ org.codehaus.groovy @@ -119,6 +116,7 @@ swagger-codegen-maven-plugin + code-gen generate @@ -139,6 +137,29 @@ + + maven-resources-plugin + + + copy-resources + compile + + copy-resources + + + ${project.basedir}/target/classes/static/api-docs/cps-ncmp + + + ${project.basedir}/target/generated-sources/swagger/ + + openapi.yaml + + + + + + + -- cgit 1.2.3-korg