Class InlineSchemaModule

    • Constructor Detail

      • InlineSchemaModule

        public InlineSchemaModule()
    • Method Detail

      • applyToConfigBuilder

        public void applyToConfigBuilder​(SchemaGeneratorConfigBuilder builder)
        Description copied from interface: Module
        Apply this module to the given configuration builder instance.
        Specified by:
        applyToConfigBuilder in interface Module
        Parameters:
        builder - configuration builder instance to which to apply this module
      • provideCustomSchemaDefinition

        public CustomDefinition provideCustomSchemaDefinition​(com.fasterxml.classmate.ResolvedType javaType,
                                                              SchemaGenerationContext context)
        Description copied from interface: CustomDefinitionProviderV2
        Look-up the non-standard JSON schema definition for a given type. If it returns null, the next definition provider is expected to be applied.
        Specified by:
        provideCustomSchemaDefinition in interface CustomDefinitionProviderV2
        Parameters:
        javaType - generic type to provide custom definition for
        context - generation context allowing to let the standard generation take over nested parts of the custom definition
        Returns:
        non-standard JSON schema definition (may be null)