File tree 4 files changed +6
-6
lines changed
main/kotlin/org/springdoc/openapi/gradle/plugin
test/kotlin/org/springdoc/openapi/gradle/plugin
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,15 @@ Gradle Groovy DSL
27
27
``` groovy
28
28
plugins {
29
29
id "org.springframework.boot" version "2.7.0"
30
- id "org.springdoc.openapi-gradle-plugin" version "1.4 .0"
30
+ id "org.springdoc.openapi-gradle-plugin" version "1.5 .0"
31
31
}
32
32
```
33
33
34
34
Gradle Kotlin DSL
35
35
``` groovy
36
36
plugins {
37
37
id("org.springframework.boot") version "2.7.0"
38
- id("org.springdoc.openapi-gradle-plugin") version "1.4 .0"
38
+ id("org.springdoc.openapi-gradle-plugin") version "1.5 .0"
39
39
}
40
40
```
41
41
@@ -133,7 +133,7 @@ The `groupedApiMappings` customization allows you to specify multiple URLs/file
133
133
2 . Update the version for the plugin to match the current version found in ` build.gradle.kts `
134
134
135
135
```
136
- id("org.springdoc.openapi-gradle-plugin") version "1.4 .0"
136
+ id("org.springdoc.openapi-gradle-plugin") version "1.5 .0"
137
137
```
138
138
139
139
3. Add the following to the spring boot apps `settings.gradle`
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ plugins {
9
9
}
10
10
11
11
group = " org.springdoc"
12
- version = " 1.4 .0"
12
+ version = " 1.5 .0"
13
13
14
14
sonarqube {
15
15
properties {
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ open class OpenApiGeneratorTask : DefaultTask() {
81
81
connection.requestMethod = " GET"
82
82
connection.connect()
83
83
84
- val response = String (connection.inputStream.readAllBytes (), Charsets .UTF_8 )
84
+ val response = String (connection.inputStream.readBytes (), Charsets .UTF_8 )
85
85
86
86
val apiDocs = if (isYaml) response else prettifyJson(response)
87
87
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class OpenApiGradlePluginTest {
43
43
44
44
dependencies {
45
45
implementation 'org.springframework.boot:spring-boot-starter-web'
46
- implementation 'org.springdoc:springdoc-openapi-webmvc-core:1.4.0 '
46
+ implementation 'org.springdoc:springdoc-openapi-webmvc-core:1.6.12 '
47
47
}
48
48
""" .trimIndent()
49
49
You can’t perform that action at this time.
0 commit comments