v3

package
v0.0.0-...-df1963f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TODO 路径要改
	SWAGGER_RESOURCES_CONTENT     = `{"configUrl": "` + constant.ROOT_PATH + `/v3/api-docs/swagger-config","oauth2RedirectUrl": "` + constant.ROOT_PATH + `/swagger-ui/oauth2-redirect.html","url": "` + constant.ROOT_PATH + `/v3/api-docs","validatorUrl": ""}`
	SWAGGER_RESOURCES_CONFIG_PATH = constant.ROOT_PATH + "/v3/api-docs/swagger-config"
)
View Source
const (
	// TODO 路径要改
	API_DOCS_RELATIVE_PATH = constant.ROOT_PATH + "/v3/api-docs"
)

Variables

This section is empty.

Functions

func AddApiDocRouter

func AddApiDocRouter(router *gin.Engine, infos *openapi.Info) *fizz.Fizz

func AddSwaggerResourcesRouter

func AddSwaggerResourcesRouter(router *gin.Engine)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL