restful

package
v2.0.44 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 11 Imported by: 11

Documentation

Index

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)

Jump to

Keyboard shortcuts

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