PhoenixSwagger.Schema.max_properties
You're seeing just the function
max_properties
, go back to PhoenixSwagger.Schema module for more information.
Limits the maximum number of properties an object
schema may contain.
Examples
iex> alias PhoenixSwagger.Schema
...> %Schema{type: :object}
...> |> Schema.max_properties(10)
%PhoenixSwagger.Schema{type: :object, maxProperties: 10}