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

public class TitleSchemaFactoryWrapper extends SchemaFactoryWrapper
Adds a title to every object schema, either root level or nested. Generally useful for writing additional properties to a schema.
Author:
jphelan
  • Constructor Details

    • TitleSchemaFactoryWrapper

      public TitleSchemaFactoryWrapper()
  • Method Details

    • expectObjectFormat

      public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor expectObjectFormat(com.fasterxml.jackson.databind.JavaType convertedType)
      Specified by:
      expectObjectFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper
      Overrides:
      expectObjectFormat in class SchemaFactoryWrapper
    • expectArrayFormat

      public com.fasterxml.jackson.databind.jsonFormatVisitors.JsonArrayFormatVisitor expectArrayFormat(com.fasterxml.jackson.databind.JavaType convertedType)
      Specified by:
      expectArrayFormat in interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper
      Overrides:
      expectArrayFormat in class SchemaFactoryWrapper