Class CrestPropertyDetailsSchemaFactoryWrapper

  • All Implemented Interfaces:
    com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProvider, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper, com.fasterxml.jackson.module.jsonSchema.factories.Visitor

    public class CrestPropertyDetailsSchemaFactoryWrapper
    extends com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper
    A SchemaFactoryWrapper that adds the extra CREST schema attributes once the Jackson schema generation has been completed.
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.fasterxml.jackson.databind.jsonFormatVisitors.JsonObjectFormatVisitor expectObjectFormat​(com.fasterxml.jackson.databind.JavaType convertedType)  
      • Methods inherited from class com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper

        expectAnyFormat, expectArrayFormat, expectBooleanFormat, expectIntegerFormat, expectMapFormat, expectNullFormat, expectNumberFormat, expectStringFormat, finalSchema, getProvider, setProvider, setVisitorContext
    • Constructor Detail

      • CrestPropertyDetailsSchemaFactoryWrapper

        public CrestPropertyDetailsSchemaFactoryWrapper()
        Create a new wrapper. Sets the CrestJsonSchemaFactory in the parent class's schemaProvider so that all of the schema objects that are created support the appropriate API Descriptor extensions.
    • Method Detail

      • 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 com.fasterxml.jackson.module.jsonSchema.factories.SchemaFactoryWrapper