Class GenerationConfiguration

java.lang.Object
com.sap.cloud.sdk.datamodel.openapi.generator.model.GenerationConfiguration

public final class GenerationConfiguration extends Object
Stores configuration parameters for the code generation performed by DataModelGenerator.
  • 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

      public String getInputSpec()
    • getOutputDirectory

      public String getOutputDirectory()
    • getApiPackage

      public String getApiPackage()
    • getModelPackage

      public String getModelPackage()
    • getApiMaturity

      public ApiMaturity getApiMaturity()
    • getCopyrightHeader

      public String getCopyrightHeader()
    • getAdditionalProperties

      public Map<String,String> getAdditionalProperties()
    • isOneOfAnyOfGenerationEnabled

      public boolean isOneOfAnyOfGenerationEnabled()
    • isGenerateModels

      public boolean isGenerateModels()
    • isGenerateApis

      public boolean isGenerateApis()
    • isDebugModels

      public boolean isDebugModels()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object
    • isVerbose

      public boolean isVerbose()
      Indicates whether to use verbose output.
      Please note: This boolean property has no more effect.