kubernetes/vendor/k8s.io/kube-openapi/pkg/util/proto/document.go

func newSchemaError(path *Path, format string, a ...interface{}

// VendorExtensionToMap converts openapi VendorExtension to a map.
func VendorExtensionToMap(e []*openapi_v2.NamedAny) map[string]interface{}

type Definitions

var _

// NewOpenAPIData creates a new `Models` out of the openapi document.
func NewOpenAPIData(doc *openapi_v2.Document) (Models, error) {}

// We believe the schema is a reference, verify that and returns a new
// Schema
func (d *Definitions) parseReference(s *openapi_v2.Schema, path *Path) (Schema, error) {}

func parseDefault(def *openapi_v2.Any) (interface{}

func (d *Definitions) parseBaseSchema(s *openapi_v2.Schema, path *Path) (BaseSchema, error) {}

// We believe the schema is a map, verify and return a new schema
func (d *Definitions) parseMap(s *openapi_v2.Schema, path *Path) (Schema, error) {}

func (d *Definitions) parsePrimitive(s *openapi_v2.Schema, path *Path) (Schema, error) {}

func (d *Definitions) parseArray(s *openapi_v2.Schema, path *Path) (Schema, error) {}

func (d *Definitions) parseKind(s *openapi_v2.Schema, path *Path) (Schema, error) {}

func (d *Definitions) parseArbitrary(s *openapi_v2.Schema, path *Path) (Schema, error) {}

// ParseSchema creates a walkable Schema from an openapi schema. While
// this function is public, it doesn't leak through the interface.
func (d *Definitions) ParseSchema(s *openapi_v2.Schema, path *Path) (Schema, error) {}

// LookupModel is public through the interface of Models. It
// returns a visitable schema from the given model name.
func (d *Definitions) LookupModel(model string) Schema {}

func (d *Definitions) ListModels() []string {}

type Ref

var _

func (r *Ref) Reference() string {}

func (r *Ref) SubSchema() Schema {}

func (r *Ref) Accept(v SchemaVisitor) {}

func (r *Ref) GetName() string {}