PhoenixSwagger.Schema.min_length
You're seeing just the function
min_length
, go back to PhoenixSwagger.Schema module for more information.
Constrains the minimum length of a string to the given value.
Examples
iex> alias PhoenixSwagger.Schema
...> %Schema{type: :string}
...> |> Schema.min_length(32)
%PhoenixSwagger.Schema{type: :string, minLength: 32}