Skip to content

Commit b447e4f

Browse files
authored
[ plugin docs ] Update gradle plugin version to 5.0.0 (#8490)
* Update gradle plugin version to 4.3.1 1. Updated gradle plugin version to 4.3.1 (to keep in sync with maven sample) 2. Removed modelFilesConstrainedTo in the gradle sample to generate code for dummies who are pasting and running. * Update version to 5.0.0
1 parent 1ceb5f5 commit b447e4f

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

docs/plugins.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Add to your `build->plugins` section (default phase is `generate-sources` phase)
1515
<plugin>
1616
<groupId>org.openapitools</groupId>
1717
<artifactId>openapi-generator-maven-plugin</artifactId>
18-
<version>4.3.1</version>
18+
<version>5.0.0</version>
1919
<executions>
2020
<execution>
2121
<goals>
@@ -76,7 +76,7 @@ buildscript {
7676
maven { url "https://repo1.maven.org/maven2" }
7777
}
7878
dependencies {
79-
classpath "org.openapitools:openapi-generator-gradle-plugin:3.3.4"
79+
classpath "org.openapitools:openapi-generator-gradle-plugin:5.0.0"
8080
}
8181
}
8282
@@ -111,9 +111,6 @@ openApiGenerate {
111111
apiPackage = "org.openapi.example.api"
112112
invokerPackage = "org.openapi.example.invoker"
113113
modelPackage = "org.openapi.example.model"
114-
modelFilesConstrainedTo = [
115-
"Error"
116-
]
117114
configOptions = [
118115
dateLibrary: "java8"
119116
]

0 commit comments

Comments
 (0)