View Source Solicit.Plugs.Validation.PaginationParams (solicit v1.3.1)

Check to make sure for an endpoint that allows for pagination that both the offset and page query parameter cannot be provided in the same call. It can only be 1 or the other.

Also that the provided offset, page, and limit are valid values

Link to this section Summary

Link to this section Functions

@spec call(
  Plug.Conn.t(),
  keyword()
) :: Plug.Conn.t()
@spec init(keyword()) :: keyword()