org.openapijsonschematools.components.schemas.IntegerMax10.java public class IntegerMax10
A class that contains necessary nested schema classes, and classes to store validated list and map payloads
| Modifier and Type | Class and Description |
|---|---|
| static class | IntegerMax10.IntegerMax101 schema class |
public static class IntegerMax101
extends JsonSchema
A schema class that validates payloads
| Modifier and Type | Field and Description |
|---|---|
| static LinkedHashMap<String, KeywordValidator> | keywordToValidator new LinkedHashMap<>(Map.ofEntries( new KeywordEntry("type", new TypeValidator(Set.of( Integer.class, Long.class, Float.class, Double.class ))), new KeywordEntry("format", new FormatValidator("int64")), new KeywordEntry("maximum", new MaximumValidator(10)) )); |
| Modifier and Type | Method and Description |
|---|---|
| static long | validate(long arg, SchemaConfiguration configuration) |