Documentation ¶
Index ¶
- type SwaggerApiDoc
- func (h *SwaggerApiDoc) ApiDocPath() string
- func (h *SwaggerApiDoc) ApiUIPath() string
- func (h *SwaggerApiDoc) Init() error
- func (h *SwaggerApiDoc) Meta() ioc.ObjectMeta
- func (h *SwaggerApiDoc) Name() string
- func (i *SwaggerApiDoc) Priority() int
- func (h *SwaggerApiDoc) Registry()
- func (h *SwaggerApiDoc) SwaggerApiDoc(r *restful.Request, w *restful.Response)
- func (h *SwaggerApiDoc) SwaggerDocConfig() restfulspec.Config
- func (h *SwaggerApiDoc) SwaggerUI(r *restful.Request, w *restful.Response)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SwaggerApiDoc ¶
type SwaggerApiDoc struct { ioc.ObjectImpl *apidoc.ApiDoc // contains filtered or unexported fields }
等待所有的API接口都加载到Router上后, 提取出所有的接口并生产API Doc
func (*SwaggerApiDoc) ApiDocPath ¶ added in v2.0.35
func (h *SwaggerApiDoc) ApiDocPath() string
func (*SwaggerApiDoc) ApiUIPath ¶ added in v2.0.35
func (h *SwaggerApiDoc) ApiUIPath() string
func (*SwaggerApiDoc) Init ¶
func (h *SwaggerApiDoc) Init() error
func (*SwaggerApiDoc) Meta ¶
func (h *SwaggerApiDoc) Meta() ioc.ObjectMeta
func (*SwaggerApiDoc) Name ¶
func (h *SwaggerApiDoc) Name() string
func (*SwaggerApiDoc) Priority ¶
func (i *SwaggerApiDoc) Priority() int
func (*SwaggerApiDoc) Registry ¶
func (h *SwaggerApiDoc) Registry()
func (*SwaggerApiDoc) SwaggerApiDoc ¶ added in v2.0.35
func (h *SwaggerApiDoc) SwaggerApiDoc(r *restful.Request, w *restful.Response)
func (*SwaggerApiDoc) SwaggerDocConfig ¶
func (h *SwaggerApiDoc) SwaggerDocConfig() restfulspec.Config
API Doc
func (*SwaggerApiDoc) SwaggerUI ¶ added in v2.0.35
func (h *SwaggerApiDoc) SwaggerUI(r *restful.Request, w *restful.Response)
Click to show internal directories.
Click to hide internal directories.