Class GenerationConfiguration
java.lang.Object
com.sap.cloud.sdk.datamodel.openapi.generator.model.GenerationConfiguration
Stores configuration parameters for the code generation performed by
DataModelGenerator.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanIndicates whether to delete the generated files from output directory prior to the generation.booleaninthashCode()booleanbooleanbooleanbooleanbooleanIndicates whether to use verbose output.toString()booleanIndicates whether to use the default SAP copyright header for generated files.
-
Method Details
-
useSapCopyrightHeader
public boolean useSapCopyrightHeader()Indicates whether to use the default SAP copyright header for generated files.- Returns:
trueif the default SAP copyright header should be used,falseotherwise.
-
deleteOutputDirectory
public boolean deleteOutputDirectory()Indicates whether to delete the generated files from output directory prior to the generation.- Returns:
trueif the generated files should be deleted from output directory before generating the OpenAPI client,falseotherwise.
-
builder
-
getInputSpec
-
getOutputDirectory
-
getApiPackage
-
getModelPackage
-
getApiMaturity
-
getCopyrightHeader
-
getAdditionalProperties
-
isOneOfAnyOfGenerationEnabled
public boolean isOneOfAnyOfGenerationEnabled() -
isGenerateModels
public boolean isGenerateModels() -
isGenerateApis
public boolean isGenerateApis() -
isDebugModels
public boolean isDebugModels() -
equals
-
hashCode
public int hashCode() -
toString
-
isVerbose
public boolean isVerbose()Indicates whether to use verbose output.
Please note: This boolean property has no more effect.
-