eventschema

package
v0.0.0-...-06b15b2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

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.

func NewSchema

func NewSchema(description string) *Schema

func (*Schema) DeepCopy

func (s *Schema) DeepCopy() *Schema

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) Process

func (generator *SchemaGenerator) Process(file *tree.File) error

func (*SchemaGenerator) Render

func (generator *SchemaGenerator) Render() (string, error)

Jump to

Keyboard shortcuts

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