public interface ObjectTypeDeclaration extends TypeDeclaration
| Modifier and Type | Method and Description |
|---|---|
Boolean |
additionalProperties() |
String |
discriminator()
Type property name to be used as discriminator, or boolean
|
String |
discriminatorValue()
The value of discriminator for the type.
|
Integer |
maxProperties()
The maximum number of properties allowed for instances of this type.
|
Integer |
minProperties()
The minimum number of properties allowed for instances of this type.
|
List<TypeDeclaration> |
properties()
The properties that instances of this type may or must have.
|
allowedTargets, defaultValue, description, displayName, example, examples, facets, name, parentTypes, required, toJsonSchema, toXmlSchema, type, validate, xmlannotationsList<TypeDeclaration> properties()
Integer minProperties()
Integer maxProperties()
Boolean additionalProperties()
String discriminator()
String discriminatorValue()
Copyright © 2017. All rights reserved.