-
Notifications
You must be signed in to change notification settings - Fork 215
/
http-api-doc.html
38 lines (37 loc) · 1.06 KB
/
http-api-doc.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
layout: swagger_layout
title: HTTP API
summary: Contains the HTTP API documentation of Eclipse Ditto.
keywords: HTTP, REST, documentation, swagger, openapi
permalink: http-api-doc.html
toc: false
hide_sidebar: true
sidebar: false
---
<script>
window.onload = function() {
// Build a system
window.ui = SwaggerUIBundle({
urls: [
{url: "openapi/ditto-api-1.yml", name:"Ditto API v1- deprecated"},
{url: "openapi/ditto-api-2.yml", name:"Ditto API v2"}
],
"urls.primaryName": "Ditto API v2",
validatorUrl: null,
docExpansion: "none",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout",
onComplete: function() {
ui.preauthorizeBasic("NginxBasic", "ditto", "ditto");
}
});
}
</script>