aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/tools
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2022-12-13 21:05:47 +0000
committerMichael Morris <michael.morris@est.tech>2023-01-04 14:46:43 +0000
commit8137832ef9e5163fca232e7152c4ba55b7ef6350 (patch)
tree5a0ca48eddb889bd5cf147c49901f79b1c6e1574 /openecomp-be/tools
parentdb3e2ef238fa29e06cec3cb3f5b11fb407b161ce (diff)
Update openapi files in the docs
- add yaml versions of the spec to the offered apis section - rename swagger files to openapi Issue-ID: SDC-4308 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ie34e562ccf294c8d9f19d3cad30a5a626c3db0ba
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>