You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/openapi-generator-gradle-plugin/src/main/kotlin/org/openapitools/generator/gradle/plugin/OpenApiGeneratorPlugin.kt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,7 @@ class OpenApiGeneratorPlugin : Plugin<Project> {
Copy file name to clipboardExpand all lines: modules/openapi-generator-gradle-plugin/src/main/kotlin/org/openapitools/generator/gradle/plugin/extensions/OpenApiGeneratorGenerateExtension.kt
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -351,6 +351,16 @@ open class OpenApiGeneratorGenerateExtension(private val project: Project) {
351
351
*/
352
352
val generateApiTests = project.objects.property<Boolean>()
353
353
354
+
/**
355
+
* Defines whether api-related files should be generated.
356
+
*
357
+
* This option enables/disables generation of ALL api-related files.
358
+
*
359
+
* For more control over generation of individual files, configure an ignore file and
360
+
* refer to it via [ignoreFileOverride].
361
+
*/
362
+
val generateApis = project.objects.property<Boolean>()
363
+
354
364
/**
355
365
* Defines whether api-related _documentation_ files should be generated.
356
366
*
@@ -421,6 +431,7 @@ open class OpenApiGeneratorGenerateExtension(private val project: Project) {
Copy file name to clipboardExpand all lines: modules/openapi-generator-gradle-plugin/src/main/kotlin/org/openapitools/generator/gradle/plugin/tasks/GenerateTask.kt
0 commit comments