PhoenixSwagger.Schema.max_items
You're seeing just the function
max_items
, go back to PhoenixSwagger.Schema module for more information.
Restricts the maximimum number of items in an array
schema.
Examples
iex> alias PhoenixSwagger.Schema
...> %Schema{type: :array}
...> |> Schema.max_items(25)
%PhoenixSwagger.Schema{type: :array, maxItems: 25}