summaryrefslogtreecommitdiffstats
path: root/public/vendor/assets/swagger-ui/index.html
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2019-04-17 04:50:55 +0200
committertechknowlogick <matti@mdranta.net>2019-04-17 04:50:55 +0200
commit4f19b082586b38006ce4d119f266f5b74cbde71d (patch)
treefa689270e0805ab8ee789c6b0cb5e0dc58fee8b7 /public/vendor/assets/swagger-ui/index.html
parent[mod]: Bump gopkg.in/src-d/go-git.v4 from 4.8.0 to 4.10.0 (#6662) (diff)
downloadforgejo-4f19b082586b38006ce4d119f266f5b74cbde71d.tar.xz
forgejo-4f19b082586b38006ce4d119f266f5b74cbde71d.zip
update swagger-ui (#6661)
Diffstat (limited to 'public/vendor/assets/swagger-ui/index.html')
-rw-r--r--public/vendor/assets/swagger-ui/index.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/public/vendor/assets/swagger-ui/index.html b/public/vendor/assets/swagger-ui/index.html
index 2dd995028e..6cbce9f7ac 100644
--- a/public/vendor/assets/swagger-ui/index.html
+++ b/public/vendor/assets/swagger-ui/index.html
@@ -4,7 +4,6 @@
<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
- <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="./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" />
@@ -38,8 +37,7 @@
<script src="./swagger-ui-standalone-preset.js"> </script>
<script>
window.onload = function() {
-
- // Build a system
+ // Begin Swagger UI call region
const ui = SwaggerUIBundle({
url: "../../../swagger.v1.json",
dom_id: '#swagger-ui',
@@ -53,6 +51,7 @@
],
layout: "StandaloneLayout"
})
+ // End Swagger UI call region
window.ui = ui
}