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
Modifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
Indicates whether to delete the generated files from output directory prior to the generation.boolean
int
hashCode()
boolean
boolean
boolean
boolean
boolean
Indicates whether to use verbose output.toString()
boolean
Indicates 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:
true
if the default SAP copyright header should be used,false
otherwise.
-
deleteOutputDirectory
public boolean deleteOutputDirectory()Indicates whether to delete the generated files from output directory prior to the generation.- Returns:
true
if the generated files should be deleted from output directory before generating the OpenAPI client,false
otherwise.
-
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.
-