mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-30 09:41:11 -05:00
597b04fe2f
Backport #27231 #27259 manually --------- Co-authored-by: delvh <dev.lh@web.de>
12 lines
474 B
Go HTML Template
12 lines
474 B
Go HTML Template
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>Gitea API</title>
|
|
<link href="{{AssetUrlPrefix}}/css/swagger.css?v={{AssetVersion}}" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<a class="swagger-back-link" href="{{AppSubUrl}}/">{{svg "octicon-reply"}}{{ctx.Locale.Tr "return_to_gitea"}}</a>
|
|
<div id="swagger-ui" data-source="{{AppSubUrl}}/swagger.{{.APIJSONVersion}}.json"></div>
|
|
<script src="{{AssetUrlPrefix}}/js/swagger.js?v={{AssetVersion}}"></script>
|
|
</body>
|
|
</html>
|