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