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

    • isVerbose

      public boolean isVerbose()
      Indicates whether to use verbose output.
      Returns:
      true if verbose output should be used, false otherwise.
    • 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 output directory prior to the generation.
      Returns:
      true if the output directory should be deleted 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()
    • 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