package
0.3.6
Repository: https://github.com/hopeio/utils.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
参数为路径和格式.
No description provided by the author
No description provided by the author
No description provided by the author
Redoc creates a middleware to serve a documentation site for a swagger spec.
No description provided by the author
WithTemplate allows to set a custom template for the UI.
WithUIBasePath sets the base path from where to serve the UI assets.
WithUIPath sets the path from where to serve the UI assets (i.e.
WithUISpecURL sets the path from where to serve swagger spec document.
WithUITitle sets the title of the UI.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
目录结构 ./api/mod/mod.swagger.json ./api/mod/mod.apidoc.md 请求路由 /apidoc /apidoc/openapi/mod/mod.swagger.json /apidoc/markdown/mod/mod.apidoc.md.

# Structs

RedocOpts configures the Redoc middlewares.

# Type aliases

No description provided by the author
UIOption can be applied to UI serving middleware, such as Context.APIHandler or Context.APIHandlerSwaggerUI to alter the defaut behavior.