Search Gradle plugins

be.nrb.dt.swagger

Plugin to generate model and client from a swagger file. The generated code is based on lombok and Spring webclient

https://nrbdigital.be

Version 1.0.12 (latest)

Created 14 October 2020.

Plugin to generate model and client from a swagger file. The generated code is based on lombok and Spring webclient

Using the plugins DSL:

plugins {
  id "be.nrb.dt.swagger" version "1.0.12"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "be.nrb.dt:nrb-dt-swagger-plugin:1.0.12"
  }
}

apply plugin: "be.nrb.dt.swagger"

Using the plugins DSL:

plugins {
  id("be.nrb.dt.swagger") version "1.0.12"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("be.nrb.dt:nrb-dt-swagger-plugin:1.0.12")
  }
}

apply(plugin = "be.nrb.dt.swagger")

Learn how to apply plugins to subprojects