You're seeing just the function paging, go back to PhoenixSwagger.Path module for more information.
Link to this function

paging(path, opts \\ [size: "page_size", number: "page"])

View Source

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.


get "/api/pets/"
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"