lib/fakeit/openapi/example/number_example.rb in fakeit-0.10.0 vs lib/fakeit/openapi/example/number_example.rb in fakeit-0.11.0
- old
+ new
@@ -1,9 +1,9 @@
module Fakeit
module Openapi
module Example
MIN_NUM = -2**31
- MAX_NUM = 2**31 - 1
+ MAX_NUM = (2**31) - 1
def number_example(example_options)
if example_options[:use_static][type: 'number', property: example_options[:property]]
static_number_example
else