hosting the Beckn-ONIX specification as a github page

This commit is contained in:
Rajaneesh
2024-10-04 20:34:14 +05:30
parent e47d7ee686
commit 88718b6f00
20 changed files with 3113 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
window.onload = function() {
//<editor-fold desc="Changeable Configuration Block">
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
window.ui = SwaggerUIBundle({
url: "../specification/specification.yaml",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
});
//</editor-fold>
};