Upgrade Swagger to 5 beta
This commit is contained in:
parent
6decf25e81
commit
176df4032d
|
@ -1,9 +1,14 @@
|
|||
window.onload = function() {
|
||||
//<editor-fold desc="Changeable Configuration Block">
|
||||
|
||||
let url;
|
||||
if (window.location.hash) {
|
||||
url = window.location.hash.substr(2)
|
||||
} else {
|
||||
url = "reference/profile.yaml"
|
||||
}
|
||||
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
|
||||
window.ui = SwaggerUIBundle({
|
||||
url: "reference/Simpl.yaml",
|
||||
url: url,
|
||||
dom_id: '#swagger-ui',
|
||||
deepLinking: true,
|
||||
presets: [
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -3,7 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Swagger UI</title>
|
||||
<title>Simpl Unofficial API Specification</title>
|
||||
<link rel="stylesheet" type="text/css" href="dist/swagger-ui.css" />
|
||||
<link rel="stylesheet" type="text/css" href="index.css" />
|
||||
<link rel="icon" type="image/png" href="dist/favicon-32x32.png" sizes="32x32" />
|
||||
|
|
Loading…
Reference in New Issue