PhoenixSwagger.Schema.exclusive_maximum
You're seeing just the function
exclusive_maximum
, go back to PhoenixSwagger.Schema module for more information.
Boolean indicating that value for maximum
is excluded from the valid range.
When true: x < maximum
, when false: x <= maximum
Examples
iex> alias PhoenixSwagger.Schema
...> %Schema{type: :number}
...> |> Schema.maximum(128)
...> |> Schema.exclusive_maximum(true)
%PhoenixSwagger.Schema{
type: :number,
maximum: 128,
exclusiveMaximum: true
}