org.springdoc.openapi-gradle-plugin
所有者: springdoc-openapi
此插件在构建时生成 JSON OpenAPI 描述
https://github.com/springdoc/springdoc-openapi-gradle-plugin
源代码: https://github.com/springdoc/springdoc-openapi-gradle-plugin.git
使用 plugins DSL
plugins {
id("org.springdoc.openapi-gradle-plugin") version "1.9.0"
}
使用 旧版插件应用程序
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org.cn/m2/")
}
}
dependencies {
classpath("org.springdoc:springdoc-openapi-gradle-plugin:1.9.0")
}
}
apply(plugin = "org.springdoc.openapi-gradle-plugin")
使用 plugins DSL
plugins {
id "org.springdoc.openapi-gradle-plugin" version "1.9.0"
}
使用 旧版插件应用程序
buildscript {
repositories {
maven {
url "https://plugins.gradle.org.cn/m2/"
}
}
dependencies {
classpath "org.springdoc:springdoc-openapi-gradle-plugin:1.9.0"
}
}
apply plugin: "org.springdoc.openapi-gradle-plugin"