Class OpenApiGeneratorMetaExtension
-
- All Implemented Interfaces:
public class OpenApiGeneratorMetaExtensionGradle project level extension object definition for the meta-generator task
Jim Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<String>generatorNameprivate final Property<String>packageNameprivate final DirectoryPropertyoutputFolder
-
Constructor Summary
Constructors Constructor Description OpenApiGeneratorMetaExtension(Project project)
-
Method Summary
Modifier and Type Method Description final Property<String>getGeneratorName()The human-readable generator name of the newly created template generator. final Property<String>getPackageName()The packageName generatorName to put the main class into (defaults to org.openapitools. final DirectoryPropertygetOutputFolder()Where to write the generated files (current dir by default). final UnitsetOutputFolder(String path)Backwards-compatibility bridge for outputFolder final Unitset(DirectoryProperty $self, String path)Extension function to allow setting outputFolder with a String path in Kotlin DSL. -
-
Method Detail
-
getGeneratorName
final Property<String> getGeneratorName()
The human-readable generator name of the newly created template generator. Defaults to
"default".
-
getPackageName
final Property<String> getPackageName()
The packageName generatorName to put the main class into (defaults to org.openapitools.codegen)
-
getOutputFolder
final DirectoryProperty getOutputFolder()
Where to write the generated files (current dir by default).
-
setOutputFolder
final Unit setOutputFolder(String path)
Backwards-compatibility bridge for outputFolder
-
-
-
-