public interface NumberTypeDeclaration extends TypeDeclaration
| Modifier and Type | Method and Description |
|---|---|
List<String> |
enumValues()
(Optional, applicable only for parameters of type string) The enum attribute provides an enumeration of the parameter's valid values.
|
String |
format()
Value format
|
Double |
maximum()
(Optional, applicable only for parameters of type number or integer) The maximum attribute specifies the parameter's maximum value.
|
Double |
minimum()
(Optional, applicable only for parameters of type number or integer) The minimum attribute specifies the parameter's minimum value.
|
Double |
multipleOf()
A numeric instance is valid against "multipleOf" if the result of the division of the instance by this keyword's value is an integer.
|
allowedTargets, defaultValue, description, displayName, example, examples, fixedFacets, isAnnotation, name, required, schema, schemaContent, type, validateannotationsDouble minimum()
Double maximum()
List<String> enumValues()
String format()
Double multipleOf()
Copyright © 2016. All rights reserved.