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_OPTIONALS
is enabled.
-
-
Constructor Summary
Constructors Constructor Description FlattenedOptionalModule()
Constructor declaringOptional
as the target type to unwrap.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyToConfigBuilder(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 declaringOptional
as the target type to unwrap.
-
-
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 interfaceModule
- Overrides:
applyToConfigBuilder
in classFlattenedWrapperModule<Optional>
- Parameters:
builder
- configuration builder instance to which to apply this module
-
-