|
|
|
@ -583,7 +583,7 @@ public class TypedJsonSchemaObject extends UntypedJsonSchemaObject { |
|
|
|
* @param value must not be {@literal null}. |
|
|
|
* @param value must not be {@literal null}. |
|
|
|
* @return must not be {@literal null}. |
|
|
|
* @return must not be {@literal null}. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
NumericJsonSchemaObject multipleOf(Number value) { |
|
|
|
public NumericJsonSchemaObject multipleOf(Number value) { |
|
|
|
|
|
|
|
|
|
|
|
Assert.notNull(value, "Value must not be null!"); |
|
|
|
Assert.notNull(value, "Value must not be null!"); |
|
|
|
NumericJsonSchemaObject newInstance = newInstance(description, generateDescription, restrictions); |
|
|
|
NumericJsonSchemaObject newInstance = newInstance(description, generateDescription, restrictions); |
|
|
|
@ -661,7 +661,7 @@ public class TypedJsonSchemaObject extends UntypedJsonSchemaObject { |
|
|
|
* @return new instance of {@link NumericJsonSchemaObject}. |
|
|
|
* @return new instance of {@link NumericJsonSchemaObject}. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
@SuppressWarnings("unchecked") |
|
|
|
NumericJsonSchemaObject lte(Number max) { |
|
|
|
public NumericJsonSchemaObject lte(Number max) { |
|
|
|
|
|
|
|
|
|
|
|
Assert.notNull(max, "Max must not be null!"); |
|
|
|
Assert.notNull(max, "Max must not be null!"); |
|
|
|
|
|
|
|
|
|
|
|
|