website updated on Sun Jul 7 23:33:35 EDT 2019
Signed-off-by: Vorto Bot <vorto-bot@eclipse.org>
diff --git a/index.html b/index.html
index d878eb6..0a3e987 100644
--- a/index.html
+++ b/index.html
@@ -108,6 +108,8 @@
<li><a target="_blank" class="external" href="https://github.com/eclipse/vorto/blob/master/docs/release-notes.md"><span>Release Notes</span></a></li>
+ <li><a target="_blank" class="external" href="./swagger/index.html"><span>HTTP API</span></a></li>
+
diff --git a/swagger/index.html b/swagger/index.html
new file mode 100644
index 0000000..bf95b99
--- /dev/null
+++ b/swagger/index.html
@@ -0,0 +1,57 @@
+<!-- HTML for static distribution bundle build -->
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <title>Eclipse Vorto Repository API</title>
+ <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.20.5/swagger-ui.css" >
+ <link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
+ <link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
+ <style>
+ html
+ {
+ box-sizing: border-box;
+ overflow: -moz-scrollbars-vertical;
+ overflow-y: scroll;
+ }
+ *,
+ *:before,
+ *:after
+ {
+ box-sizing: inherit;
+ }
+ body
+ {
+ margin:0;
+ background: #fafafa;
+ }
+ </style>
+ </head>
+
+ <body>
+ <div id="swagger-ui"></div>
+
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.20.5/swagger-ui-bundle.js"> </script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.20.5/swagger-ui-standalone-preset.js"> </script>
+ <script>
+ window.onload = function() {
+ // Begin Swagger UI call region
+ const ui = SwaggerUIBundle({
+ url: "https://raw.githubusercontent.com/eclipse/vorto/development/repository/apiDocs/vorto_openapi3.yaml",
+ dom_id: '#swagger-ui',
+ deepLinking: true,
+ presets: [
+ SwaggerUIBundle.presets.apis,
+ SwaggerUIStandalonePreset
+ ],
+ plugins: [
+ SwaggerUIBundle.plugins.DownloadUrl
+ ],
+ layout: "BaseLayout"
+ })
+ // End Swagger UI call region
+ window.ui = ui
+ }
+ </script>
+ </body>
+</html>
\ No newline at end of file