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
  • 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

      @Input public abstract org.gradle.api.provider.Property<String> getLang()
    • getInvokerPackageName

      @Input public abstract org.gradle.api.provider.Property<String> getInvokerPackageName()
    • getApiPackageName

      @Input public abstract org.gradle.api.provider.Property<String> getApiPackageName()
    • getModelPackageName

      @Input public abstract org.gradle.api.provider.Property<String> getModelPackageName()
    • getUseBeanValidation

      @Input public abstract org.gradle.api.provider.Property<Boolean> getUseBeanValidation()
    • getUseOneOfInterfaces

      @Input public abstract org.gradle.api.provider.Property<Boolean> getUseOneOfInterfaces()
    • getUseOptional

      @Input public abstract org.gradle.api.provider.Property<Boolean> getUseOptional()
    • getUseReactive

      @Input public abstract org.gradle.api.provider.Property<Boolean> getUseReactive()
    • getOutputKinds

      @Input public abstract org.gradle.api.provider.ListProperty<String> getOutputKinds()
    • getSerializationFramework

      @Input public abstract org.gradle.api.provider.Property<String> getSerializationFramework()
    • getAlwaysUseGenerateHttpResponse

      @Input public abstract org.gradle.api.provider.Property<Boolean> getAlwaysUseGenerateHttpResponse()
    • getGenerateHttpResponseWhereRequired

      @Input public abstract org.gradle.api.provider.Property<Boolean> getGenerateHttpResponseWhereRequired()
    • getDateTimeFormat

      @Input public abstract org.gradle.api.provider.Property<String> getDateTimeFormat()
    • getParameterMappings

      @Input public abstract org.gradle.api.provider.ListProperty<ParameterMappingModel> getParameterMappings()
    • getLombok

      @Input public abstract org.gradle.api.provider.Property<Boolean> getLombok()
    • getKsp

      @Input public abstract org.gradle.api.provider.Property<Boolean> getKsp()
    • getGeneratedAnnotation

      @Input public abstract org.gradle.api.provider.Property<Boolean> getGeneratedAnnotation()
    • getFluxForArrays

      @Input public abstract org.gradle.api.provider.Property<Boolean> getFluxForArrays()
    • getResponseBodyMappings

      @Input public abstract org.gradle.api.provider.ListProperty<ResponseBodyMappingModel> getResponseBodyMappings()
    • getSchemaMapping

      @Input public abstract org.gradle.api.provider.MapProperty<String,String> getSchemaMapping()
    • getImportMapping

      @Input public abstract org.gradle.api.provider.MapProperty<String,String> getImportMapping()
    • getNameMapping

      @Input public abstract org.gradle.api.provider.MapProperty<String,String> getNameMapping()
    • getTypeMapping

      @Input public abstract org.gradle.api.provider.MapProperty<String,String> getTypeMapping()
    • getEnumNameMapping

      @Input public abstract org.gradle.api.provider.MapProperty<String,String> getEnumNameMapping()
    • getModelNameMapping

      @Input public abstract org.gradle.api.provider.MapProperty<String,String> getModelNameMapping()
    • getInlineSchemaNameMapping

      @Input public abstract org.gradle.api.provider.MapProperty<String,String> getInlineSchemaNameMapping()
    • getInlineSchemaOption

      @Input public abstract org.gradle.api.provider.MapProperty<String,String> getInlineSchemaOption()
    • getOpenapiNormalizer

      @Input public abstract org.gradle.api.provider.MapProperty<String,String> getOpenapiNormalizer()
    • getApiNamePrefix

      @Optional @Input public abstract org.gradle.api.provider.Property<String> getApiNamePrefix()
    • getApiNameSuffix

      @Optional @Input public abstract org.gradle.api.provider.Property<String> getApiNameSuffix()
    • getModelNamePrefix

      @Optional @Input public abstract org.gradle.api.provider.Property<String> getModelNamePrefix()
    • getModelNameSuffix

      @Optional @Input public abstract org.gradle.api.provider.Property<String> 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

      @Optional @Input public abstract org.gradle.api.provider.Property<Boolean> getImplicitHeaders()
    • getImplicitHeadersRegex

      @Optional @Input public abstract org.gradle.api.provider.Property<String> 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

      @Optional @Input public abstract org.gradle.api.provider.MapProperty<String,Object> getAdditionalProperties()
    • getUseJakartaEe

      @Optional @Input public abstract org.gradle.api.provider.Property<Boolean> 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

      @Optional @Input public abstract org.gradle.api.provider.Property<Boolean> 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

      @Internal protected abstract Class<W> getWorkerAction()
    • configureWorkerParameters

      protected abstract void configureWorkerParameters(P params)
    • execute

      public final void execute()