org.openapijsonschematools.components.schemas.ComposedArray.java public class ComposedArray
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 | ComposedArray.ComposedArray1 schema class |
| static class | ComposedArray.ComposedArrayList output class for List payloads |
| static class | ComposedArray.Items schema class |
public static class ComposedArray1
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(FrozenList.class))), new KeywordEntry("items", new ItemsValidator(Items.class)) )); |
| Modifier and Type | Method and Description |
|---|---|
| static ComposedArrayList | validate(List arg, SchemaConfiguration configuration) |
public class ComposedArrayList
extends FrozenList<Object>
A class to store validated List payloads
| Modifier and Type | Method and Description |
|---|---|
| static ComposedArrayList | of(List arg, SchemaConfiguration configuration) |
type: List<Object>
| List Item Type | Description | Notes |
|---|---|---|
| Object |
public static class Items
extends AnyTypeJsonSchema
A schema class that validates payloads
| Methods Inherited from class org.openapijsonschematools.schemas.AnyTypeJsonSchema |
|---|
| validate |