PhoenixSwagger.Path.paging
You're seeing just the function
paging
, go back to PhoenixSwagger.Path module for more information.
Adds page size, number and offset parameters to the operation of a swagger %PathObject{}
.
The names default to "page_size" and "page" for ease of use with scriviner_ecto
, but can be overridden.
Examples
get "/api/pets/"
paging
response 200, "OK"
get "/api/pets/dogs"
paging size: "page_size", number: "count"
response 200, "OK"
get "/api/pets/cats"
paging size: "limit", offset: "offset"
response 200, "OK"