Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Latest commit

 

History

History
47 lines (37 loc) · 2.14 KB

File metadata and controls

47 lines (37 loc) · 2.14 KB

SelfReferencingArrayModel

org.openapijsonschematools.client.components.schemas.SelfReferencingArrayModel.java public class SelfReferencingArrayModel

A class that contains necessary nested schema classes, and classes to store validated list and map payloads

Nested Class Summary

Modifier and Type Class and Description
static class SelfReferencingArrayModel.SelfReferencingArrayModel1
schema class
static class SelfReferencingArrayModel.SelfReferencingArrayModelList
output class for List payloads

SelfReferencingArrayModel1

public static class SelfReferencingArrayModel1
extends JsonSchema

A schema class that validates payloads

Field Summary

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(SelfReferencingArrayModel1.class))
));

Method Summary

Modifier and Type Method and Description
static SelfReferencingArrayModelList validate(List arg, SchemaConfiguration configuration)

SelfReferencingArrayModelList

public class SelfReferencingArrayModelList
extends FrozenList<SelfReferencingArrayModelList>

A class to store validated List payloads

Method Summary

Modifier and Type Method and Description
static SelfReferencingArrayModelList of(List arg, SchemaConfiguration configuration)

Input List Items

type: List<List>
List Item Type Description Notes
List

[Back to top] [Back to Component Schemas] [Back to README]