Class FlattenedOptionalModule
- java.lang.Object
-
- com.github.victools.jsonschema.generator.impl.module.FlattenedWrapperModule<Optional>
-
- com.github.victools.jsonschema.generator.impl.module.FlattenedOptionalModule
-
- All Implemented Interfaces:
Module
public class FlattenedOptionalModule extends FlattenedWrapperModule<Optional>
Default module being included ifOption.FLATTENED_OPTIONALSis enabled.
-
-
Constructor Summary
Constructors Constructor Description FlattenedOptionalModule()Constructor declaringOptionalas the target type to unwrap.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyToConfigBuilder(SchemaGeneratorConfigBuilder builder)Apply this module to the given configuration builder instance.-
Methods inherited from class com.github.victools.jsonschema.generator.impl.module.FlattenedWrapperModule
hasMemberWrapperType, isWrapperType
-
-
-
-
Constructor Detail
-
FlattenedOptionalModule
public FlattenedOptionalModule()
Constructor declaringOptionalas the target type to unwrap.
-
-
Method Detail
-
applyToConfigBuilder
public void applyToConfigBuilder(SchemaGeneratorConfigBuilder builder)
Description copied from interface:ModuleApply this module to the given configuration builder instance.- Specified by:
applyToConfigBuilderin interfaceModule- Overrides:
applyToConfigBuilderin classFlattenedWrapperModule<Optional>- Parameters:
builder- configuration builder instance to which to apply this module
-
-