Class SmallryeOpenApiExtension

  • All Implemented Interfaces:
    SmallryeOpenApiProperties

    public class SmallryeOpenApiExtension
    extends java.lang.Object
    Gradle extension objects, which allows Gradle project wide defaults, or just easier configuration in Gradle build scripts.

    See SmallryeOpenApiProperties for information about the individual options.

    • Constructor Summary

      Constructors 
      Constructor Description
      SmallryeOpenApiExtension​(org.gradle.api.model.ObjectFactory objects)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.gradle.api.provider.Property<java.lang.Boolean> getApplicationPathDisable()
      Disable scanning of the javax.ws.rs.Path (and jakarta.ws.rs.Path) for the application path.
      org.gradle.api.file.RegularFileProperty getConfigProperties()
      Load any properties from a file.
      org.gradle.api.provider.Property<java.lang.String> getCustomSchemaRegistryClass()
      Fully qualified name of a CustomSchemaRegistry, which can be used to specify a custom schema for a type.
      org.gradle.api.provider.Property<io.smallrye.openapi.api.OpenApiConfig.DuplicateOperationIdBehavior> getDuplicateOperationIdBehavior()
      Configuration property to specify what should happen if duplicate operationIds occur.
      org.gradle.api.provider.Property<java.lang.String> getEncoding()
      Output encoding for openapi document.
      org.gradle.api.provider.Property<java.lang.String> getFilter()
      Configuration property to specify the fully qualified name of the OASFilter implementation.
      org.gradle.api.provider.Property<java.lang.String> getInfoContactEmail()  
      org.gradle.api.provider.Property<java.lang.String> getInfoContactName()  
      org.gradle.api.provider.Property<java.lang.String> getInfoContactUrl()  
      org.gradle.api.provider.Property<java.lang.String> getInfoDescription()  
      org.gradle.api.provider.Property<java.lang.String> getInfoLicenseName()  
      org.gradle.api.provider.Property<java.lang.String> getInfoLicenseUrl()  
      org.gradle.api.provider.Property<java.lang.String> getInfoTermsOfService()  
      org.gradle.api.provider.Property<java.lang.String> getInfoTitle()  
      org.gradle.api.provider.Property<java.lang.String> getInfoVersion()  
      org.gradle.api.provider.Property<java.lang.String> getModelReader()
      Configuration property to specify the fully qualified name of the OASModelReader implementation.
      org.gradle.api.provider.Property<java.lang.String> getOpenApiVersion()
      To specify a custom OpenAPI version.
      org.gradle.api.provider.Property<io.smallrye.openapi.api.OpenApiConfig.OperationIdStrategy> getOperationIdStrategy()
      Configuration property to specify how the operationid is generated.
      org.gradle.api.provider.MapProperty<java.lang.String,​java.lang.String> getOperationServers()
      Prefix of the configuration property to specify an alternative list of servers to service an operation.
      org.gradle.api.provider.MapProperty<java.lang.String,​java.lang.String> getPathServers()
      Prefix of the configuration property to specify an alternative list of servers to service all operations in a path
      org.gradle.api.provider.ListProperty<java.lang.String> getScanClasses()
      Configuration property to specify the list of classes to scan.
      org.gradle.api.provider.Property<java.lang.Boolean> getScanDependenciesDisable()
      Disable scanning the project's dependencies for OpenAPI model classes too
      org.gradle.api.provider.Property<java.lang.Boolean> getScanDisabled()
      Configuration property to disable annotation scanning.
      org.gradle.api.provider.ListProperty<java.lang.String> getScanExcludeClasses()
      Configuration property to specify the list of classes to exclude from scans.
      org.gradle.api.provider.ListProperty<java.lang.String> getScanExcludePackages()
      Configuration property to specify the list of packages to exclude from scans.
      org.gradle.api.provider.ListProperty<java.lang.String> getScanExcludeProfiles()
      Profiles which explicitly exclude operations.
      org.gradle.api.provider.ListProperty<java.lang.String> getScanPackages()
      Configuration property to specify the list of packages to scan.
      org.gradle.api.provider.ListProperty<java.lang.String> getScanProfiles()
      Profiles which explicitly include operations.
      org.gradle.api.provider.MapProperty<java.lang.String,​java.lang.String> getScanResourceClasses()  
      org.gradle.api.provider.Property<java.lang.String> getSchemaFilename()
      Filename of the schema Defaults to openapi.
      org.gradle.api.provider.ListProperty<java.lang.String> getServers()
      Configuration property to specify the list of global servers that provide connectivity information.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait