TapikExtension

open class TapikExtension @Inject constructor(objects: ObjectFactory)(source)

Root Gradle extension exposing Tapik-specific configuration surfaces.

Constructors

Link copied to clipboard
@Inject
constructor(objects: ObjectFactory)

Properties

Link copied to clipboard
val basePackage: Property<String>

Base package whose compiled classes will be inspected for Tapik endpoint declarations.

Link copied to clipboard
val endpointsSuffix: Property<String>

Suffix appended to the source-level enclosing endpoints interface.

Link copied to clipboard

Package segment appended to source packages for generated Kotlin sources.

Link copied to clipboard

Nested extension configuring Markdown documentation generation.

Link copied to clipboard

Nested extension configuring Spring RestClient code generation.

Link copied to clipboard

Nested extension configuring Spring WebMVC controller generation.

Functions

Link copied to clipboard

Sets the base package that will be scanned for Tapik endpoints.

Link copied to clipboard
fun endpointsSuffix(suffix: String)

Sets the suffix appended to the source-level enclosing endpoints interface.

Link copied to clipboard

Sets the package segment appended to source packages for generated Kotlin sources.

Link copied to clipboard

Configures the MarkdownDocumentationExtension responsible for Markdown output generation.

Link copied to clipboard
fun springRestClient(configure: Action<in SpringRestClientExtension>)

Configures the springRestClient extension using a Gradle Action.

Link copied to clipboard
fun springWebMvc(configure: Action<in SpringWebMvcExtension>)

Configures the springWebMvc extension using a Gradle Action.