org.openapijsonschematools.client.components.schemas.Items.java public class Items
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 | Items.Items1 schema class |
| static class | Items.ItemsList output class for List payloads |
| static class | Items.Items2 schema class |
public static class Items1
extends JsonSchema
A schema class that validates payloads
component's name collides with the inner schema name
| Modifier and Type | Field and Description |
|---|---|
| static LinkedHashMap<String, KeywordValidator> | keywordToValidator new LinkedHashMap<>(Map.ofEntries( new KeywordEntry("type", new TypeValidator(Set.of(FrozenList.class))), new KeywordEntry("items", new ItemsValidator(Items2.class)) )); |
| Modifier and Type | Method and Description |
|---|---|
| static ItemsList | validate(List<Map<String, Object>> arg, SchemaConfiguration configuration) |
public class ItemsList
extends FrozenList<FrozenMap<String, Object>>
A class to store validated List payloads
| Modifier and Type | Method and Description |
|---|---|
| static ItemsList | of(List<Map<String, Object>> arg, SchemaConfiguration configuration) |
type: List<Map<String, Object>>
| List Item Type | Description | Notes |
|---|---|---|
| Map<String, Object> |
public static class Items2
extends MapJsonSchema
A schema class that validates payloads
| Methods Inherited from class org.openapijsonschematools.client.schemas.MapJsonSchema |
|---|
| validate |