From 06354d5f7db5008534e69548a5cfc677470bcc82 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Tue, 1 Nov 2022 18:32:08 +0800 Subject: [PATCH] update doc --- docs/installation.md | 6 +++--- modules/openapi-generator-gradle-plugin/README.adoc | 6 +++--- .../samples/local-spec/README.md | 2 +- modules/openapi-generator-maven-plugin/README.md | 2 +- website/src/pages/index.js | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index c56c97a00d..ce4da0722b 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -103,18 +103,18 @@ docker run --rm \ If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum): -JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.2.0/openapi-generator-cli-6.2.0.jar` +JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.2.1/openapi-generator-cli-6.2.1.jar` For **Mac/Linux** users: ```bash -wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.2.0/openapi-generator-cli-6.2.0.jar -O openapi-generator-cli.jar +wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.2.1/openapi-generator-cli-6.2.1.jar -O openapi-generator-cli.jar ``` For **Windows** users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g. ```powershell -Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.2.0/openapi-generator-cli-6.2.0.jar +Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/6.2.1/openapi-generator-cli-6.2.1.jar ``` diff --git a/modules/openapi-generator-gradle-plugin/README.adoc b/modules/openapi-generator-gradle-plugin/README.adoc index 9982ec5e12..60a20a16c3 100644 --- a/modules/openapi-generator-gradle-plugin/README.adoc +++ b/modules/openapi-generator-gradle-plugin/README.adoc @@ -97,7 +97,7 @@ task validateGoodSpec(type: org.openapitools.generator.gradle.plugin.tasks.Valid [source,group] ---- plugins { - id "org.openapi.generator" version "6.2.0" + id "org.openapi.generator" version "6.2.1" } ---- @@ -113,7 +113,7 @@ buildscript { // url "https://plugins.gradle.org/m2/" } dependencies { - classpath "org.openapitools:openapi-generator-gradle-plugin:6.2.0" + classpath "org.openapitools:openapi-generator-gradle-plugin:6.2.1" } } @@ -695,7 +695,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:3.2.1' - classpath('org.openapitools:openapi-generator-gradle-plugin:6.2.0') { + classpath('org.openapitools:openapi-generator-gradle-plugin:6.2.1') { exclude group: 'com.google.guava' } } diff --git a/modules/openapi-generator-gradle-plugin/samples/local-spec/README.md b/modules/openapi-generator-gradle-plugin/samples/local-spec/README.md index 6428a36a3c..21bf2275da 100644 --- a/modules/openapi-generator-gradle-plugin/samples/local-spec/README.md +++ b/modules/openapi-generator-gradle-plugin/samples/local-spec/README.md @@ -19,5 +19,5 @@ gradle generateGoWithInvalidSpec # expected outcome: BUILD FAILED The samples can be tested against other versions of the plugin using the `openApiGeneratorVersion` property. For example: ```bash -gradle -PopenApiGeneratorVersion=6.2.0 openApiValidate +gradle -PopenApiGeneratorVersion=6.2.1 openApiValidate ``` diff --git a/modules/openapi-generator-maven-plugin/README.md b/modules/openapi-generator-maven-plugin/README.md index 38e54029cd..65ddab54f9 100644 --- a/modules/openapi-generator-maven-plugin/README.md +++ b/modules/openapi-generator-maven-plugin/README.md @@ -12,7 +12,7 @@ Add to your `build->plugins` section (default phase is `generate-sources` phase) org.openapitools openapi-generator-maven-plugin - 6.2.0 + 6.2.1 diff --git a/website/src/pages/index.js b/website/src/pages/index.js index 5c59453bc9..d43ff877e4 100755 --- a/website/src/pages/index.js +++ b/website/src/pages/index.js @@ -147,7 +147,7 @@ const callouts = [ |npm install @openapitools/openapi-generator-cli -g | |# use a specific version of "openapi-generator-cli" - |openapi-generator-cli version-manager set 6.0.0 + |openapi-generator-cli version-manager set 6.2.0 | |# Or install it as dev-dependency in your node.js projects |npm install @openapitools/openapi-generator-cli -D