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

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

Summary

Functions

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