summaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war')
-rw-r--r--openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml4
-rw-r--r--openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/resources/swagger-config.yaml17
2 files changed, 19 insertions, 2 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml
index de41792623..d254678071 100644
--- a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml
+++ b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml
@@ -252,11 +252,11 @@
<plugin>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-maven-plugin</artifactId>
- <version>2.0.8</version>
<configuration>
<outputPath>${project.build.directory}/generated/swagger-ui</outputPath>
- <outputFileName>swagger</outputFileName>
+ <outputFileName>swagger-sdce-1</outputFileName>
<outputFormat>JSON</outputFormat>
+ <configurationFilePath>${project.basedir}/src/main/resources/swagger-config.yaml</configurationFilePath>
</configuration>
<executions>
<execution>
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/resources/swagger-config.yaml b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/resources/swagger-config.yaml
new file mode 100644
index 0000000000..2c924eaef7
--- /dev/null
+++ b/openecomp-be/api/openecomp-sdc-rest-webapp/onboarding-rest-war/src/main/resources/swagger-config.yaml
@@ -0,0 +1,17 @@
+prettyPrint: true
+sortOutput: true
+openAPI:
+ info:
+ title: "SPC API: SDCE-1"
+ description: "SDC API for onboarding (SDCE-1)"
+ contact:
+ name: ONAP
+ url: https://onap.readthedocs.io
+ email: onap-discuss@lists.onap.org
+ license:
+ name: Apache 2.0
+ url: http://www.apache.org/licenses/LICENSE-2.0
+ version: "1.0"
+ servers:
+ - url: /sdc
+ description: "SDCE-1 APIs" \ No newline at end of file