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.
This commit is contained in:
Mikka
2022-07-09 10:06:44 +02:00
committed by GitHub
parent cfebd14c2b
commit dbee2c5a83
3 changed files with 7 additions and 7 deletions

View File

@@ -27,11 +27,11 @@
<!-- specify the swagger yaml -->
<inputSpec>${project.basedir}/swagger.yaml</inputSpec>
<!-- target to generate java client code -->
<!-- target to generate kotlin client code -->
<generatorName>kotlin</generatorName>
<!-- hint: if you want to generate java server code, e.g. based on Spring Boot,
you can use the following target: <generatorName>spring</generatorName> -->
<!-- hint: if you want to generate kotlin server code, e.g. based on Spring Boot,
you can use the following generator: <generatorName>kotlin-spring</generatorName> -->
<!-- pass any necessary config options -->
<configOptions>

View File

@@ -32,11 +32,11 @@
<!-- specify the swagger yaml -->
<inputSpec>${project.basedir}/swagger.yaml</inputSpec>
<!-- target to generate java client code -->
<!-- target to generate java server code -->
<generatorName>spring</generatorName>
<!-- hint: if you want to generate java server code, e.g. based on Spring Boot,
you can use the following target: <generatorName>spring</generatorName> -->
<!-- hint: if you want to generate java client code
you can use the following generator: <generatorName>java</generatorName> -->
<!-- pass any necessary config options -->
<configOptions>