From dbee2c5a8393142dfb4c70ecf54d1571faf1df52 Mon Sep 17 00:00:00 2001 From: Mikka Date: Sat, 9 Jul 2022 10:06:44 +0200 Subject: [PATCH] Fix small documentation errors (#12811) * fix typo in openapi-generator-maven-plugin readme * fix copy&paste error in spring example pom.xml spring generator is used for java server side code generation, not for client code generation * fixed copy&paste errors in kotlin example pom.xml kotlin generator is not used to generate java client code, but kotlin client code. --- modules/openapi-generator-maven-plugin/README.md | 2 +- modules/openapi-generator-maven-plugin/examples/kotlin.xml | 6 +++--- modules/openapi-generator-maven-plugin/examples/spring.xml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/openapi-generator-maven-plugin/README.md b/modules/openapi-generator-maven-plugin/README.md index 2d28480f1b1..f4b3b4c9752 100644 --- a/modules/openapi-generator-maven-plugin/README.md +++ b/modules/openapi-generator-maven-plugin/README.md @@ -127,7 +127,7 @@ The `key` and `value` text are any values you'd like to provide for that option. ``` -Not that some of these environment variable options may overwrite or conflict with other options available to the maven plugin. For example, the above `globalProperties` example is equivalent to the following: +Notice that some of these environment variable options may overwrite or conflict with other options available to the maven plugin. For example, the above `globalProperties` example is equivalent to the following: ```xml diff --git a/modules/openapi-generator-maven-plugin/examples/kotlin.xml b/modules/openapi-generator-maven-plugin/examples/kotlin.xml index 7acc69369c5..d4b33cdb178 100644 --- a/modules/openapi-generator-maven-plugin/examples/kotlin.xml +++ b/modules/openapi-generator-maven-plugin/examples/kotlin.xml @@ -27,11 +27,11 @@ ${project.basedir}/swagger.yaml - + kotlin - + diff --git a/modules/openapi-generator-maven-plugin/examples/spring.xml b/modules/openapi-generator-maven-plugin/examples/spring.xml index 5c888dc78e4..e55add2a3ec 100644 --- a/modules/openapi-generator-maven-plugin/examples/spring.xml +++ b/modules/openapi-generator-maven-plugin/examples/spring.xml @@ -32,11 +32,11 @@ ${project.basedir}/swagger.yaml - + spring - +