Search Gradle plugins

org.openapi.generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

https://openapi-generator.tech/

Sources: https://github.com/OpenAPITools/openapi-generator

Version 4.0.0-SNAPSHOT

Created 19 March 2019.

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.openapi.generator") version "4.0.0-SNAPSHOT"
}

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