mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
87265d9ac7
This commit adds Api/Model/Auth documentation to the generated README.md. Because auth support is not yet fully implemented (users can manually set default headers globally), there aren't examples for helper auth methods. Models with inline enums document allowed values rather than pointing to a generated enum class. Two global additionalProperties were added (generateApiDocs, generateModelDocs) to allow templates to conditionally display documentatoin depending on these mutually exclusive settings. All current generators supporting docs will attempt to link to generated models when only api docs are specified. This also moves the $@ bash parameter in bin/kotlin-client-petstore.sh to the end of the args variable. This is because $@ can only be used to pass System properties like -DdebugModels, can can already be passed as: JAVA_OPTS="$JAVA_OPTS -DdebugModels" ./bin/kotlin-client-petstore.sh By moving the $@ to the end of the args, it allows us to pass additional properties and other switches directly to the script. |
||
---|---|---|
.. | ||
src | ||
XhhGitIgnore | ||
.gitignore | ||
pom.xml |