Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddServers ¶
func AddServers(server string)
func SetApiInfo ¶
func SetExternalDocs ¶
func SetExternalDocs(docs builder.ExternalDocs)
Types ¶
type OpenApiStarter ¶
type OpenApiStarter struct { bean.Component Controllers []component.Controller //使用切片接口类型注入所有实现类 Cache cache.ICache // contains filtered or unexported fields }
func (*OpenApiStarter) AfterInit ¶
func (o *OpenApiStarter) AfterInit()
func (*OpenApiStarter) Controller ¶
func (o *OpenApiStarter) Controller() string
func (*OpenApiStarter) OpenAPI3 ¶
func (o *OpenApiStarter) OpenAPI3() resp.Response
Click to show internal directories.
Click to hide internal directories.