初始
This commit is contained in:
24
internal/consts/consts_openapi.go
Normal file
24
internal/consts/consts_openapi.go
Normal file
@ -0,0 +1,24 @@
|
||||
package consts
|
||||
|
||||
const (
|
||||
OpenAPITitle = `GFast-v3`
|
||||
OpenAPIDescription = `基于 GoFrame2.0的后台管理系统。 Enjoy 💖 `
|
||||
OpenAPIContactName = "GFast"
|
||||
OpenAPIContactUrl = "http://www.g-fast.cn"
|
||||
SwaggerUITemplate = `
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" href="{SwaggerUIDocNamePlaceHolder}/doc/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title></title>
|
||||
<script type="module" crossorigin src="{SwaggerUIDocNamePlaceHolder}/doc/webjars/js/doc-19de6184.js"></script>
|
||||
<link rel="stylesheet" href="{SwaggerUIDocNamePlaceHolder}/doc/webjars/css/doc-5be93158.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
||||
`
|
||||
)
|
Reference in New Issue
Block a user