Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Errors ¶
type Errors struct {
// contains filtered or unexported fields
}
func (*Errors) AppendErrors ¶
type InvalidObjectTypeError ¶
func (InvalidObjectTypeError) Error ¶
func (e InvalidObjectTypeError) Error() string
type InvalidTypeError ¶
func (InvalidTypeError) Error ¶
func (e InvalidTypeError) Error() string
type MissingRequiredFieldError ¶
func (MissingRequiredFieldError) Error ¶
func (e MissingRequiredFieldError) Error() string
type SchemaValidation ¶
type SchemaValidation struct {
// contains filtered or unexported fields
}
func NewSchemaValidation ¶
func NewSchemaValidation(resources openapi.Resources) *SchemaValidation
func (*SchemaValidation) Validate ¶
func (v *SchemaValidation) Validate(data []byte) error
type UnknownFieldError ¶
func (UnknownFieldError) Error ¶
func (e UnknownFieldError) Error() string
type ValidationError ¶
func (ValidationError) Error ¶
func (e ValidationError) Error() string
type ValidationItem ¶
type ValidationItem interface { openapi.SchemaVisitor Errors() []error Path() *openapi.Path }
Click to show internal directories.
Click to hide internal directories.