after fork
This commit is contained in:
17
templates/redoc.html
Normal file
17
templates/redoc.html
Normal file
@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>{{ .title }} - ReDoc</title>
|
||||
<meta charset="utf-8"/>
|
||||
<meta content="width=device-width, initial-scale=1" name="viewport">
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
|
||||
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="redoc"></div>
|
||||
<script>
|
||||
let options = JSON.parse('{{ .redoc_options }}')
|
||||
Redoc.init('{{ .openapi_url }}', options, document.getElementById('redoc'))
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user