Class AbstractOpenApiGenerator<W extends AbstractOpenApiWorkAction<P>,P extends io.micronaut.gradle.openapi.tasks.AbstractOpenApiWorkAction.OpenApiParameters>
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
io.micronaut.gradle.openapi.tasks.AbstractOpenApiGenerator<W,P>
- All Implemented Interfaces:
Comparable<org.gradle.api.Task>
,org.gradle.api.internal.DynamicObjectAware
,org.gradle.api.internal.TaskInternal
,org.gradle.api.Named
,org.gradle.api.plugins.ExtensionAware
,org.gradle.api.Task
,org.gradle.util.Configurable<org.gradle.api.Task>
- Direct Known Subclasses:
OpenApiClientGenerator
,OpenApiServerGenerator
public abstract class AbstractOpenApiGenerator<W extends AbstractOpenApiWorkAction<P>,P extends io.micronaut.gradle.openapi.tasks.AbstractOpenApiWorkAction.OpenApiParameters>
extends org.gradle.api.DefaultTask
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Task
org.gradle.api.Task.Namer
-
Field Summary
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
configureWorkerParameters
(P params) final void
execute()
abstract org.gradle.api.provider.ListProperty<String>
abstract org.gradle.api.provider.ListProperty<String>
abstract org.gradle.api.provider.ListProperty<String>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<String>
abstract org.gradle.api.provider.Property<String>
abstract org.gradle.api.provider.Property<String>
abstract org.gradle.api.file.ConfigurableFileCollection
abstract org.gradle.api.provider.Property<String>
abstract org.gradle.api.file.RegularFileProperty
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<String>
abstract org.gradle.api.provider.Property<String>
abstract org.gradle.api.provider.Property<Boolean>
getKsp()
abstract org.gradle.api.provider.Property<String>
getLang()
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<String>
abstract org.gradle.api.provider.Property<String>
abstract org.gradle.api.provider.Property<String>
abstract org.gradle.api.file.DirectoryProperty
abstract org.gradle.api.provider.ListProperty<String>
abstract org.gradle.api.provider.ListProperty<ParameterMappingModel>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Integer>
abstract org.gradle.api.provider.Property<String>
abstract org.gradle.api.provider.ListProperty<ResponseBodyMappingModel>
abstract org.gradle.api.provider.Property<String>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
abstract org.gradle.api.provider.Property<Boolean>
protected abstract org.gradle.workers.WorkerExecutor
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
Methods inherited from class org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.gradle.api.Task
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
-
Constructor Details
-
AbstractOpenApiGenerator
public AbstractOpenApiGenerator()
-
-
Method Details
-
getClasspath
@Classpath public abstract org.gradle.api.file.ConfigurableFileCollection getClasspath() -
getDefinitionFile
@InputFile @PathSensitive(NONE) public abstract org.gradle.api.file.RegularFileProperty getDefinitionFile() -
getLang
-
getInvokerPackageName
-
getApiPackageName
-
getModelPackageName
-
getUseBeanValidation
-
getUseOneOfInterfaces
-
getUseOptional
-
getUseReactive
-
getOutputKinds
-
getSerializationFramework
-
getAlwaysUseGenerateHttpResponse
-
getGenerateHttpResponseWhereRequired
@Input public abstract org.gradle.api.provider.Property<Boolean> getGenerateHttpResponseWhereRequired() -
getDateTimeFormat
-
getParameterMappings
@Input public abstract org.gradle.api.provider.ListProperty<ParameterMappingModel> getParameterMappings() -
getLombok
-
getKsp
-
getGeneratedAnnotation
-
getFluxForArrays
-
getResponseBodyMappings
@Input public abstract org.gradle.api.provider.ListProperty<ResponseBodyMappingModel> getResponseBodyMappings() -
getSchemaMapping
-
getImportMapping
-
getNameMapping
-
getTypeMapping
-
getEnumNameMapping
-
getModelNameMapping
-
getInlineSchemaNameMapping
-
getInlineSchemaOption
-
getOpenapiNormalizer
-
getApiNamePrefix
-
getApiNameSuffix
-
getModelNamePrefix
-
getModelNameSuffix
-
getUseEnumCaseInsensitive
@Optional @Input public abstract org.gradle.api.provider.Property<Boolean> getUseEnumCaseInsensitive() -
getGenerateSwaggerAnnotations
@Optional @Input public abstract org.gradle.api.provider.Property<Boolean> getGenerateSwaggerAnnotations() -
getImplicitHeaders
-
getImplicitHeadersRegex
-
getAdditionalEnumTypeAnnotations
@Optional @Input public abstract org.gradle.api.provider.ListProperty<String> getAdditionalEnumTypeAnnotations() -
getAdditionalModelTypeAnnotations
@Optional @Input public abstract org.gradle.api.provider.ListProperty<String> getAdditionalModelTypeAnnotations() -
getAdditionalOneOfTypeAnnotations
@Optional @Input public abstract org.gradle.api.provider.ListProperty<String> getAdditionalOneOfTypeAnnotations() -
getAdditionalProperties
-
getUseJakartaEe
-
getSortParamsByRequiredFlag
@Optional @Input public abstract org.gradle.api.provider.Property<Boolean> getSortParamsByRequiredFlag() -
getSkipOperationExample
@Optional @Input public abstract org.gradle.api.provider.Property<Boolean> getSkipOperationExample() -
getSkipSortingOperations
@Optional @Input public abstract org.gradle.api.provider.Property<Boolean> getSkipSortingOperations() -
getRemoveOperationIdPrefixDelimiter
@Optional @Input public abstract org.gradle.api.provider.Property<String> getRemoveOperationIdPrefixDelimiter() -
getRemoveOperationIdPrefixCount
@Optional @Input public abstract org.gradle.api.provider.Property<Integer> getRemoveOperationIdPrefixCount() -
getSortModelPropertiesByRequiredFlag
@Optional @Input public abstract org.gradle.api.provider.Property<Boolean> getSortModelPropertiesByRequiredFlag() -
getEnsureUniqueParams
-
getAllowUnicodeIdentifiers
@Optional @Input public abstract org.gradle.api.provider.Property<Boolean> getAllowUnicodeIdentifiers() -
getPrependFormOrBodyParameters
@Optional @Input public abstract org.gradle.api.provider.Property<Boolean> getPrependFormOrBodyParameters() -
getOutputDirectory
@OutputDirectory public abstract org.gradle.api.file.DirectoryProperty getOutputDirectory() -
getWorkerExecutor
@Inject protected abstract org.gradle.workers.WorkerExecutor getWorkerExecutor() -
getWorkerAction
-
configureWorkerParameters
-
execute
public final void execute()
-