Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GrpcClient *bool
View Source
var GrpcServer *bool
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator holds internal state needed to generate an OpenAPIv3 document for a transcoded Protocol Buffer service.
func NewGenerator ¶
func NewGenerator( plugin *protogen.Plugin, inputFile *protogen.File, outputFile *protogen.GeneratedFile, openAPIv3Generator *generator.OpenAPIv3Generator, ) *Generator
NewGenerator creates a new generator for a protoc plugin invocation.
func (*Generator) OutputFile ¶
func (g *Generator) OutputFile() *protogen.GeneratedFile
func (*Generator) PrintBodyParameters ¶
Click to show internal directories.
Click to hide internal directories.