package
0.2.0
Repository: https://github.com/hasmatthew/go-swagger.git
Documentation: pkg.go.dev

# Functions

AdditionalItemsNotAllowed an error for invalid additional items.
CompositeValidationError an error to wrap a bunch of other errors.
DuplicateItems error for when an array contains duplicates.
EnumFail error for when an enum validation fails.
ExceedsMaximum error for when maxinum validation fails.
ExceedsMinimum error for when maxinum validation fails.
FailedAllPatternProperties an error for when the property doesn't match a pattern.
FailedPattern error for when a string fails a regex pattern match the pattern that is returned is the ECMA syntax version of the pattern not the golang version.
InvalidCollectionFormat another flavor of invalid type error.
InvalidContentType error for an invalid content type.
InvalidResponseFormat error for an unacceptable response format request.
InvalidType creates an error for when the type is invalid.
InvalidTypeName an error for when the type is invalid.
MethodNotAllowed creates a new method not allowed error.
New creates a new API error with a code and a message.
NewParseError creates a new parse error.
NotFound creates a new not found error.
NotImplemented creates a new not implemented error.
NotMultipleOf error for when multiple of validation fails.
PropertyNotAllowed an error for when the property doesn't match a pattern.
Required error for when a value is missing.
ServeError the error handler interface implemenation.
TooFewItems error for when an array contains too few items.
TooFewProperties an error for an object with too few properties.
TooLong error for when a string is too long.
TooManyItems error for when an array contains too many items.
TooManyProperties an error for an object with too many properties.
TooShort error for when a string is too short.
Unauthenticated returns an unauthenticated error.

# Structs

APIVerificationFailed is an error that contains all the missing info for a mismatched section between the api registrations and the api spec.
CompositeError is an error that groups several errors together.
MethodNotAllowedError represents an error for when the path matches but the method doesn't.
ParseError respresents a parsing error.
Validation represents a failure of a precondition.

# Interfaces

Error represents a error interface all swagger framework errors implement.