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) · 1.93 KB

File metadata and controls

47 lines (37 loc) · 1.93 KB

ArrayOfEnums

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

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 ArrayOfEnums.ArrayOfEnums1
schema class
static class ArrayOfEnums.ArrayOfEnumsList
output class for List payloads

ArrayOfEnums1

public static class ArrayOfEnums1
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(StringEnum.StringEnum1.class)
));

Method Summary

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

ArrayOfEnumsList

public class ArrayOfEnumsList
extends FrozenList<String>

A class to store validated List payloads

Method Summary

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

Input List Items

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

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