Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Schema ¶
type Schema struct { apiextv1.JSONSchemaProps // contains filtered or unexported fields }
Schema is a set of object properties.
type SchemaGenerator ¶
type SchemaGenerator struct {
// contains filtered or unexported fields
}
SchemaGenerator generates the OpenAPI v3 schema from a proto file.
func NewSchemaGenerator ¶
func NewSchemaGenerator() *SchemaGenerator
func (*SchemaGenerator) GetRoots ¶
func (generator *SchemaGenerator) GetRoots() map[string]*Schema
func (*SchemaGenerator) Render ¶
func (generator *SchemaGenerator) Render() (string, error)
Click to show internal directories.
Click to hide internal directories.