next-api-utils

Enumerations

_ExceptionCode

Classes

BaseValidationException
ExceptionWrapper
InvalidBodyException
InvalidPathParametersException
InvalidQueryParametersException

Type Aliases

BaseException
IsException
NextRouteHandler
NextRouteHandlerSegmentData
ParsedRequest
QueryBooleanSchema
RequestSchema
RequestSchemaToParsedRequest
ValidationExceptionSchema

Variables

QueryBooleanSchema
TO_RESPONSE
ValidationExceptionSchema

Functions

validateBody
validateParams
validateQuery
validateRequest