PhoenixSwagger.Schema.multiple_of

You're seeing just the function multiple_of, go back to PhoenixSwagger.Schema module for more information.
Link to this function

multiple_of(model, number)

View Source

Limits a values of numeric type (:integer or :number) to multiples of the given amount.

Examples

iex> alias PhoenixSwagger.Schema
...> %Schema{type: :number}
...> |> Schema.multiple_of(7)
%PhoenixSwagger.Schema{type: :number, multipleOf: 7}