validation

package
v1.14.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaValidation

type SchemaValidation struct {
	// contains filtered or unexported fields
}

SchemaValidation validates the object against an OpenAPI schema.

func NewSchemaValidation

func NewSchemaValidation(resources openapi.Resources) *SchemaValidation

NewSchemaValidation creates a new SchemaValidation that can be used to validate objects.

func (*SchemaValidation) ValidateBytes

func (v *SchemaValidation) ValidateBytes(data []byte) error

ValidateBytes will validates the object against using the Resources object.

Jump to

Keyboard shortcuts

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