openapi

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: MIT Imports: 20 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultPrefix = "/openapi-ui/"
)

Functions

func GetAllOpenAPIDoc added in v1.4.19

func GetAllOpenAPIDoc() []*pb.OpenAPI

func GetEndpoint added in v1.5.4

func GetEndpoint(name string) (map[string]*api.Endpoint, error)

func InjectEndpoints added in v1.5.4

func InjectEndpoints(endpoints ...api.Endpoint) error

func RegisterOpenAPI added in v0.22.2

func RegisterOpenAPI(name string, co client.Client, router *gin.Engine)

func RegisterOpenAPIDoc added in v1.4.9

func RegisterOpenAPIDoc(api *pb.OpenAPI)

func RegisterOpenAPIHandler added in v1.4.9

func RegisterOpenAPIHandler(s server.Server, opts ...server.HandlerOption) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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