package
0.0.0-20230313030019-42159231bbd3
Repository: https://github.com/wideway/public.git
Documentation: pkg.go.dev

# Functions

GetHost 获取host.
GetKvType 获取类型转换.
NewDoc 新建一个swagger doc.
SetBasePath set basePath.
SetExternalDocs 设置外部doc链接.
SetHost 设置host.
SetInfo 设置信息.
SetReqCtxType 设置请求数据传输方式.
SetRespCtxType 设置响应(返回)求数据传输方式.
SetSchemes 设置 http头.
SetVersion 设置版本号.

# Structs

APIBody swagger api body info.
Definition 通用结构体定义.
DocSwagger ...
Element 元素定义.
ExternalDocs tags of group.
Head Swagger 版本.
Info 指定 API 的 info-title.
Param API 路径 paths 和操作在 API 规范的全局部分定义.
Propertie 属性.
为返回的类型的文档加入描述.
Schema 引用.
SecurityDefinitions 安全验证.
Tag group of tags.
XML xml.