Package org.openapitools.codegen.config
Class DynamicSettings
- java.lang.Object
-
- org.openapitools.codegen.config.DynamicSettings
-
public class DynamicSettings extends Object
Represents a serialization helper ofGeneratorSettings
andWorkflowSettings
. When used to deserialize any available Jackson binding input, this will accumulate any "unknown properties" intoGeneratorSettings.getAdditionalProperties()
as a side effect of callinggetGeneratorSettings()
.
-
-
Constructor Summary
Constructors Constructor Description DynamicSettings()
Constructor for DynamicSettings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getDynamicProperties()
Gets all "custom" properties included in the config object.List<TemplateDefinition>
getFiles()
Gets the list of template files allowing user redefinition and addition of templating filesGeneratorSettings
getGeneratorSettings()
Gets theGeneratorSettings
included in the config object.WorkflowSettings
getWorkflowSettings()
Gets theWorkflowSettings
included in the config object.
-
-
-
Method Detail
-
getFiles
public List<TemplateDefinition> getFiles()
Gets the list of template files allowing user redefinition and addition of templating files- Returns:
- A list of template files
-
getGeneratorSettings
public GeneratorSettings getGeneratorSettings()
Gets theGeneratorSettings
included in the config object.- Returns:
- A new instance of settings
-
getWorkflowSettings
public WorkflowSettings getWorkflowSettings()
Gets theWorkflowSettings
included in the config object.- Returns:
- A new instance of settings
-
-