From 8137832ef9e5163fca232e7152c4ba55b7ef6350 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Tue, 13 Dec 2022 21:05:47 +0000 Subject: 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 Change-Id: Ie34e562ccf294c8d9f19d3cad30a5a626c3db0ba --- .../api/openecomp-sdc-rest-webapp/onboarding-rest-war/pom.xml | 4 ++-- openecomp-be/tools/swagger-ui/index.html | 2 +- openecomp-be/tools/swagger-ui/pom.xml | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'openecomp-be') 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 fbdbd39fe3..2da91397c7 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 @@ -310,8 +310,8 @@ ${swagger-core-mvn-plugin.version} ${project.build.directory}/generated/swagger-ui - swagger-sdce-1 - JSON + openapi-sdce-1 + JSONANDYAML ${project.basedir}/src/main/resources/swagger-config.yaml 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 @@ + - + + -- cgit 1.2.3-korg