swagger

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *swaggerGen

Types

type SwaggerApi

type SwaggerApi struct {
	spec.Swagger
}

func NewSwaggerEndpoint

func NewSwaggerEndpoint(filename string, version string) *SwaggerApi

func (*SwaggerApi) AddProtoMessage

func (sw *SwaggerApi) AddProtoMessage(definitionName string, message pgs.Message)

func (*SwaggerApi) AddProtoMethod

func (sw *SwaggerApi) AddProtoMethod(methodPath string, id string, inputRef string, outputRef string, m pgs.Method)

Jump to

Keyboard shortcuts

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