Class ConstantValueModule

java.lang.Object
com.github.victools.jsonschema.generator.impl.module.ConstantValueModule
All Implemented Interfaces:
Module

public class ConstantValueModule extends Object implements Module
Default module being included if Option.VALUES_FROM_CONSTANT_FIELDS is enabled.
  • Constructor Details

    • ConstantValueModule

      public ConstantValueModule()
  • Method Details

    • 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