Documentation ¶
Overview ¶
Package genopenapi provides a code generator for OpenAPI v2.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddErrorDefs ¶
func AddErrorDefs(reg *descriptor.Registry) error
AddErrorDefs Adds google.rpc.Status and google.protobuf.Any to registry (used for error-related API responses)
Types ¶
type GeneratorOptions ¶
type GeneratorOptions struct { Registry *descriptor.Registry RecursiveDepth int }
Click to show internal directories.
Click to hide internal directories.