整合redoc免费版swagger文档主题
This commit is contained in:
29
redoc-free/index.html
Normal file
29
redoc-free/index.html
Normal file
@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Redoc</title>
|
||||
<!-- needed for adaptive design -->
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700 -->
|
||||
<!-- 预留占位符, 可以通过外部替换 -->
|
||||
<link href="{{CSS_FAMILY}}" rel="stylesheet">
|
||||
|
||||
<!--
|
||||
Redoc doesn't change outer page styles
|
||||
-->
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!-- 预留占位符, 可以通过外部替换 -->
|
||||
<!--doc.json, 相对于外部设置好的base_url-->
|
||||
<redoc spec-url='{{DOC_PATH}}'></redoc>
|
||||
<!--https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js-->
|
||||
<script src="{{REDOC_STANDALONE_JS}}"> </script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user