Documentation
¶
Index ¶
Constants ¶
View Source
const (
BuildTagPublicDocs = "public_docs"
)
Variables ¶
This section is empty.
Functions ¶
func NewGoogleProtobufDurationSchema ¶ added in v0.0.21
func NewGoogleProtobufDurationSchema() *v3.SchemaOrReference
google.protobuf.Timestamp is serialized as a string
Types ¶
type Configuration ¶
type OpenAPIv3Generator ¶
type OpenAPIv3Generator struct {
// contains filtered or unexported fields
}
OpenAPIv3Generator holds internal state needed to generate an OpenAPIv3 document for a transcoded Protocol Buffer service.
func NewOpenAPIv3Generator ¶
func NewOpenAPIv3Generator(plugin *protogen.Plugin, conf Configuration) *OpenAPIv3Generator
NewOpenAPIv3Generator creates a new generator for a protoc plugin invocation.
type OpenAPIv3Reflector ¶ added in v0.0.14
type OpenAPIv3Reflector struct {
// contains filtered or unexported fields
}
func NewOpenAPIv3Reflector ¶ added in v0.0.14
func NewOpenAPIv3Reflector(conf Configuration) *OpenAPIv3Reflector
NewOpenAPIv3Reflector creates a new reflector.
Click to show internal directories.
Click to hide internal directories.