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)

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.org.openapitools:openapi-generator-gradle-plugin:4.0.0-SNAPSHOT")
  }
}

apply(plugin = "org.openapi.generator")

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.org.openapitools:openapi-generator-gradle-plugin:4.0.0-SNAPSHOT"
  }
}

apply plugin: "org.openapi.generator"

Learn how to apply plugins to subprojects