const invalidType …
const typeFail …
const typeFailWithData …
const typeFailWithError …
const requiredFail …
const tooLongMessage …
const tooShortMessage …
const patternFail …
const enumFail …
const multipleOfFail …
const maxIncFail …
const maxExcFail …
const minIncFail …
const minExcFail …
const uniqueFail …
const maxItemsFail …
const minItemsFail …
const typeFailNoIn …
const typeFailWithDataNoIn …
const typeFailWithErrorNoIn …
const requiredFailNoIn …
const tooLongMessageNoIn …
const tooShortMessageNoIn …
const patternFailNoIn …
const enumFailNoIn …
const multipleOfFailNoIn …
const maxIncFailNoIn …
const maxExcFailNoIn …
const minIncFailNoIn …
const minExcFailNoIn …
const uniqueFailNoIn …
const maxItemsFailNoIn …
const minItemsFailNoIn …
const noAdditionalItems …
const noAdditionalItemsNoIn …
const tooFewProperties …
const tooFewPropertiesNoIn …
const tooManyProperties …
const tooManyPropertiesNoIn …
const unallowedProperty …
const unallowedPropertyNoIn …
const failedAllPatternProps …
const failedAllPatternPropsNoIn …
const multipleOfMustBePositive …
const CompositeErrorCode …
const InvalidTypeCode …
const RequiredFailCode …
const TooLongFailCode …
const TooShortFailCode …
const PatternFailCode …
const EnumFailCode …
const MultipleOfFailCode …
const MaxFailCode …
const MinFailCode …
const UniqueFailCode …
const MaxItemsFailCode …
const MinItemsFailCode …
const NoAdditionalItemsCode …
const TooFewPropertiesCode …
const TooManyPropertiesCode …
const UnallowedPropertyCode …
const FailedAllPatternPropsCode …
const MultipleOfMustBePositiveCode …
type CompositeError …
func (c *CompositeError) Code() int32 { … }
func (c *CompositeError) Error() string { … }
func CompositeValidationError(errors ...error) *CompositeError { … }
func FailedAllPatternProperties(name, in, key string) *Validation { … }
func PropertyNotAllowed(name, in, key string) *Validation { … }
func TooFewProperties(name, in string, minProperties, size int64) *Validation { … }
func TooManyProperties(name, in string, maxProperties, size int64) *Validation { … }
func AdditionalItemsNotAllowed(name, in string) *Validation { … }
func InvalidCollectionFormat(name, in, format string) *Validation { … }
func InvalidTypeName(typeName string) *Validation { … }
func InvalidType(name, in, typeName string, value interface{ … }
func DuplicateItems(name, in string) *Validation { … }
func TooManyItems(name, in string, max int64, value interface{ … }
func TooFewItems(name, in string, min int64, value interface{ … }
func ExceedsMaximumInt(name, in string, max int64, exclusive bool, value interface{ … }
func ExceedsMaximumUint(name, in string, max uint64, exclusive bool, value interface{ … }
func ExceedsMaximum(name, in string, max float64, exclusive bool, value interface{ … }
func ExceedsMinimumInt(name, in string, min int64, exclusive bool, value interface{ … }
func ExceedsMinimumUint(name, in string, min uint64, exclusive bool, value interface{ … }
func ExceedsMinimum(name, in string, min float64, exclusive bool, value interface{ … }
func NotMultipleOf(name, in string, multiple, value interface{ … }
func EnumFail(name, in string, value interface{ … }
func Required(name, in string) *Validation { … }
func TooLong(name, in string, max int64, value interface{ … }
func TooShort(name, in string, min int64, value interface{ … }
func FailedPattern(name, in, pattern string, value interface{ … }
func MultipleOfMustBePositive(name, in string, factor interface{ … }