forked from loafle/openapi-generator-original
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:
parent
cfebd14c2b
commit
dbee2c5a83
@ -127,7 +127,7 @@ The `key` and `value` text are any values you'd like to provide for that option.
|
||||
</configuration>
|
||||
```
|
||||
|
||||
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
|
||||
<configuration>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user