mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 18:45:23 +00:00
23 lines
771 B
Markdown
23 lines
771 B
Markdown
|
|
||
|
CONFIG OPTIONS for go
|
||
|
|
||
|
packageName
|
||
|
Go package name (convention: lowercase). (Default: openapi)
|
||
|
|
||
|
hideGenerationTimestamp
|
||
|
Hides the generation timestamp when files are generated. (Default: true)
|
||
|
|
||
|
packageVersion
|
||
|
Go package version. (Default: 1.0.0)
|
||
|
|
||
|
withGoCodegenComment
|
||
|
whether to include Go codegen comment to disable Go Lint and collapse by default GitHub in PRs and diffs (Default: false)
|
||
|
|
||
|
withXml
|
||
|
whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML) (Default: false)
|
||
|
|
||
|
prependFormOrBodyParameters
|
||
|
Add form or body parameters to the beginning of the parameter list. (Default: false)
|
||
|
|
||
|
Back to the [generators list](README.md)
|