openapi_plugin

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddServers

func AddServers(server string)

func SetApiInfo

func SetApiInfo(apiInfo builder.Info)

func SetExternalDocs

func SetExternalDocs(docs builder.ExternalDocs)

Types

type OpenApiStarter

type OpenApiStarter struct {
	bean.Component
	Controllers []component.Controller //使用切片接口类型注入所有实现类

	Cache cache.ICache
	Log   logging.Logger
	// 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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