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

Latest commit

 

History

History
38 lines (29 loc) · 1.78 KB

File metadata and controls

38 lines (29 loc) · 1.78 KB

ComposedObject

org.openapijsonschematools.components.schemas.ComposedObject.java public class ComposedObject

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 ComposedObject.ComposedObject1
schema class
static class ComposedObject.Schema0
schema class

ComposedObject1

public static class ComposedObject1
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(FrozenMap.class))),
    new KeywordEntry("allOf", new AllOfValidator(List.of(
        Schema0.class
    )))
));

Method Summary

Modifier and Type Method and Description
static FrozenMap<String, Object> validate(Map<String, Object> arg, SchemaConfiguration configuration)

Schema0

public static class Schema0
extends AnyTypeJsonSchema

A schema class that validates payloads

Methods Inherited from class org.openapijsonschematools.schemas.AnyTypeJsonSchema
validate

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