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

Sources: https://github.com/brunofrankinrb/nrb-dt-swagger-plugin

Version 1.0.7

Created 01 April 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.7"
}

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.7")
  }
}

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects