summaryrefslogtreecommitdiffstats
path: root/openecomp-be/tools
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/tools')
-rw-r--r--openecomp-be/tools/swagger-ui/index.html2
-rw-r--r--openecomp-be/tools/swagger-ui/pom.xml4
2 files changed, 4 insertions, 2 deletions
diff --git a/openecomp-be/tools/swagger-ui/index.html b/openecomp-be/tools/swagger-ui/index.html
index 2aefcd2fb5..5821ad2c83 100644
--- a/openecomp-be/tools/swagger-ui/index.html
+++ b/openecomp-be/tools/swagger-ui/index.html
@@ -41,7 +41,7 @@
if (window.location.pathname.indexOf('/api-docs') > 0) {
url += window.location.pathname.substring(0, window.location.pathname.indexOf('/api-docs'))
}
- url += "/api-docs/swagger-sdce-1.json";
+ url += "/api-docs/openapi-sdce-1.json";
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
diff --git a/openecomp-be/tools/swagger-ui/pom.xml b/openecomp-be/tools/swagger-ui/pom.xml
index 1a66005935..c70694e629 100644
--- a/openecomp-be/tools/swagger-ui/pom.xml
+++ b/openecomp-be/tools/swagger-ui/pom.xml
@@ -89,11 +89,13 @@
<copy todir="${basedir}/target/${plugin.name}/">
<fileset dir="${rest.api.dir}/target/generated/swagger-ui/">
<include name="*.json"/>
+ <include name="*.yaml"/>
</fileset>
</copy>
<copy todir="${basedir}/target/${plugin.name}/">
- <fileset dir="${catalog-be.api.dir}/target/generated/swagger/">
+ <fileset dir="${catalog-be.api.dir}/target/generated/openapi/">
<include name="*.json"/>
+ <include name="*.yaml"/>
</fileset>
</copy>
</target>