Constructor and Description |
---|
Schemas() |
Modifier and Type | Method and Description |
---|---|
static GenericSchemaBuilder |
allOf(SchemaBuilder... allOf) |
static GenericSchemaBuilder |
anyOf(SchemaBuilder... anyOf) |
static ArraySchemaBuilder |
arraySchema() |
static BooleanSchemaBuilder |
booleanSchema() |
static GenericSchemaBuilder |
constSchema(Object constValue) |
static GenericSchemaBuilder |
enumSchema(Object... enumValues) |
static NumberSchemaBuilder |
intSchema() |
static GenericSchemaBuilder |
not(SchemaBuilder not) |
static NumberSchemaBuilder |
numberSchema() |
static ObjectSchemaBuilder |
objectSchema() |
static GenericSchemaBuilder |
oneOf(SchemaBuilder... oneOf) |
static GenericSchemaBuilder |
ref(JsonPointer pointer) |
static GenericSchemaBuilder |
refToAlias(String alias) |
static GenericSchemaBuilder |
schema()
Creates a generic untyped schema.
|
static StringSchemaBuilder |
stringSchema() |
static TupleSchemaBuilder |
tupleSchema() |
public static GenericSchemaBuilder schema()
Keywords.type(SchemaType...)
public static NumberSchemaBuilder intSchema()
public static NumberSchemaBuilder numberSchema()
public static StringSchemaBuilder stringSchema()
public static BooleanSchemaBuilder booleanSchema()
public static TupleSchemaBuilder tupleSchema()
public static ArraySchemaBuilder arraySchema()
public static ObjectSchemaBuilder objectSchema()
public static GenericSchemaBuilder constSchema(Object constValue)
public static GenericSchemaBuilder enumSchema(Object... enumValues)
public static GenericSchemaBuilder ref(JsonPointer pointer)
public static GenericSchemaBuilder refToAlias(String alias)
public static GenericSchemaBuilder allOf(SchemaBuilder... allOf)
public static GenericSchemaBuilder anyOf(SchemaBuilder... anyOf)
public static GenericSchemaBuilder oneOf(SchemaBuilder... oneOf)
public static GenericSchemaBuilder not(SchemaBuilder not)
Copyright © 2024 Eclipse. All rights reserved.