org.openapijsonschematools.components.schemas.StringBooleanMap.java public class StringBooleanMap
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 | StringBooleanMap.StringBooleanMap1 schema class |
| static class | StringBooleanMap.StringBooleanMapMap output class for Map payloads |
| static class | StringBooleanMap.AdditionalProperties schema class |
public static class StringBooleanMap1
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(FrozenMap.class))), new KeywordEntry("additionalProperties", new AdditionalPropertiesValidator(AdditionalProperties.class)) )); |
| Modifier and Type | Method and Description |
|---|---|
| static StringBooleanMapMap | validate(Map<String, Boolean> arg, SchemaConfiguration configuration) |
public static class StringBooleanMapMap
extends FrozenMap<String, Boolean>
A class to store validated Map payloads
| Modifier and Type | Method and Description |
|---|---|
| static StringBooleanMapMap | of(Map<String, Boolean> arg, SchemaConfiguration configuration) |
| boolean | getAdditionalProperty(String name) provides type safety for additional properties |
type: Map<String, Object>
| Key | Type | Description | Notes |
|---|---|---|---|
| anyStringName | boolean | any string name can be used but the value must be the correct type | [optional] |
public static class AdditionalProperties
extends BooleanJsonSchema
A schema class that validates payloads
| Methods Inherited from class org.openapijsonschematools.schemas.BooleanJsonSchema |
|---|
| validate |