Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Validator ¶
func HasEmptyBody ¶
func HasEmptyBody() Validator
HasEmptyBody returns a validator that checks if the request body is empty.
func NoExtraQueryParams ¶
NoExtraQueryParams returns a validator that checks if the request has any query parameters that are not in the except list.
func QueryParamsContainsOneOf ¶
QueryParamsContainsOneOf returns a validator that checks if the request has at least one of the specified query parameters.
Click to show internal directories.
Click to hide internal directories.