Search Gradle plugins

dk.mada.jaxrs

A plugin that generates JAX-RS code from OpenApi documents. It has many configuration options and a broad test suite to cover many corner cases.

https://github.com/jskov/openapi-jaxrs-client

Sources: https://github.com/jskov/openapi-jaxrs-client

Version 0.11.5 (latest)

Created 18 June 2024.

A plugin that generates JAX-RS code from OpenApi documents. It has many configuration options and a broad test suite to cover many corner cases.

Add this plugin to your build using the plugins DSL:

plugins {
  id("dk.mada.jaxrs") version "0.11.5"
}

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("dk.mada.jaxrs:dk.mada.jaxrs.gradle.plugin:0.11.5")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("dk.mada.jaxrs")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("dk.mada.jaxrs:dk.mada.jaxrs.gradle.plugin:0.11.5")
      }
    }
    
    apply(plugin = "dk.mada.jaxrs")
  • Applying plugins to all subprojects .