Improve Swagger UI Update Process 10/111410/6
authorAnton Okhrimenko <Anton.Okhrimenko@pantheon.tech>
Sat, 27 Apr 2024 01:59:31 +0000 (03:59 +0200)
committerIvan Hrasko <ivan.hrasko@pantheon.tech>
Mon, 8 Jul 2024 08:50:43 +0000 (10:50 +0200)
commit039687dd84a54c46ca73d23294a7402ab62c0d8a
treea9adc9bf231510122c99307ff19821e22a680d35
parent194248779535e6ccd9b475b178f6a7154518cc87
Improve Swagger UI Update Process

Our custom code is now separated in:
styles.css, swagger-initializer.js, logo_small.png
and configuration.js. Everything controlled from index.html.

Everything from swagger UI distro is now placed in swagger-ui directory
without any modification.

This helps us make the process to update to latest swagger UI
distribution easier.

All we need is to replace the content of swagger-ui directory.

JIRA: NETCONF-1302
Change-Id: I389b52026e832f3b21834546ec4d4362cbd518dd
Signed-off-by: Anton Okhrimenko <Anton.Okhrimenko@pantheon.tech>
Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
18 files changed:
restconf/restconf-openapi/src/main/resources/explorer/index.html
restconf/restconf-openapi/src/main/resources/explorer/styles.css
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/favicon-16x16.png [moved from restconf/restconf-openapi/src/main/resources/explorer/favicon-16x16.png with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/favicon-32x32.png [moved from restconf/restconf-openapi/src/main/resources/explorer/favicon-32x32.png with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/index.css [moved from restconf/restconf-openapi/src/main/resources/explorer/index.css with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/oauth2-redirect.html [moved from restconf/restconf-openapi/src/main/resources/explorer/oauth2-redirect.html with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui-bundle.js [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui-bundle.js with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui-bundle.js.map [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui-bundle.js.map with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui-es-bundle-core.js [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui-es-bundle-core.js with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui-es-bundle-core.js.map [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui-es-bundle-core.js.map with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui-es-bundle.js [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui-es-bundle.js with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui-es-bundle.js.map [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui-es-bundle.js.map with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui-standalone-preset.js [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui-standalone-preset.js with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui-standalone-preset.js.map [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui-standalone-preset.js.map with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui.css [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui.css with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui.css.map [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui.css.map with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui.js [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui.js with 100% similarity]
restconf/restconf-openapi/src/main/resources/explorer/swagger-ui/swagger-ui.js.map [moved from restconf/restconf-openapi/src/main/resources/explorer/swagger-ui.js.map with 100% similarity]