Class TitleSchemaFactoryWrapper
java.lang.Object
com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
com.fasterxml.jackson.module.jsonSchema.customProperties.TitleSchemaFactoryWrapper
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProvider,com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper,Visitor
Adds a title to every object schema, either root level or nested. Generally
useful for writing additional properties to a schema.
- Author:
- jphelan
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper.Base -
Field Summary
Fields inherited from class com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
provider, schema, schemaProvider, visitorContext, visitorFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitorexpectArrayFormat(com.fasterxml.jackson.databind.JavaType convertedType) com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitorexpectObjectFormat(com.fasterxml.jackson.databind.JavaType convertedType) Methods inherited from class com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
expectAnyFormat, expectBooleanFormat, expectIntegerFormat, expectMapFormat, expectNullFormat, expectNumberFormat, expectStringFormat, finalSchema, getProvider, setProvider, setVisitorContext
-
Constructor Details
-
TitleSchemaFactoryWrapper
public TitleSchemaFactoryWrapper()
-
-
Method Details
-
expectObjectFormat
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor expectObjectFormat(com.fasterxml.jackson.databind.JavaType convertedType) - Specified by:
expectObjectFormatin interfacecom.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper- Overrides:
expectObjectFormatin classSchemaFactoryWrapper
-
expectArrayFormat
public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor expectArrayFormat(com.fasterxml.jackson.databind.JavaType convertedType) - Specified by:
expectArrayFormatin interfacecom.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper- Overrides:
expectArrayFormatin classSchemaFactoryWrapper
-