summaryrefslogtreecommitdiffstats
path: root/templates/swagger/ui.tmpl
blob: 9072b49a37d8383d8af6f1eb76f5bacc330e8205 (plain)
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
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>Gitea API</title>
		<link href="{{StaticUrlPrefix}}/css/swagger.css?v={{MD5 AppVer}}" rel="stylesheet">
		<style>
			html {
			  box-sizing: border-box;
			  overflow-y: scroll;
			}
			*, *:before, *:after {
			  box-sizing: inherit;
			}
			body {
			  margin: 0;
			  background: #fff;
			}
		</style>
	</head>
	<body>
		<div id="swagger-ui" data-source="{{AppUrl}}swagger.{{.APIJSONVersion}}.json"></div>
		<script src="{{StaticUrlPrefix}}/js/swagger.js?v={{MD5 AppVer}}"></script>
	</body>
</html>