org.demalab.openapi-contracts
CC-compatible
Owner:
Denis Markushin
Publishes every OpenAPI spec found under a docs tree as its own versioned client artifact.
https://github.com/denis-markushin/gradle-plugins
Sources: https://github.com/denis-markushin/gradle-plugins.git
Version 2.1.1 (latest)
Created 04 December 2026.
Publishes every OpenAPI spec found under a docs tree as its own versioned client artifact.
Add this plugin to your build using the plugins DSL:
plugins {
id("org.demalab.openapi-contracts") version "2.1.1"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("org.demalab.openapi-contracts:org.demalab.openapi-contracts.gradle.plugin:2.1.1") }It can then be applied in the precompiled script plugin:plugins { id("org.demalab.openapi-contracts") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("org.demalab.openapi-contracts:org.demalab.openapi-contracts.gradle.plugin:2.1.1") } } apply(plugin = "org.demalab.openapi-contracts") - Applying plugins to all subprojects .