openapi-generator/docs/generators/go.md
Jochen Scheib c918d7ad64 go-server: Support additional properties as command line arguments (#1555)
* Support additionalPorperties as command line arguments

* Move Readme into main dir

* Update Mustache

* Update sample

* Test coverage

* Move cli options

* Revert options

* Remove tabs

* openapi 3 examples

* Update readme

* serverPort to int

* Move package version cli option to AbstractGoCodegen

* Update samples

* Tab to spaces

* Update docs and sample with xml

* Manual update doc

* Another doc try

* Regenerate go-gin-server doc
2019-03-25 21:19:06 +08:00

796 B


id: generator-opts-client-go title: Config Options for go sidebar_label: go

Option Description Values Default
packageName Go package name (convention: lowercase). openapi
packageVersion Go package version. 1.0.0
hideGenerationTimestamp Hides the generation timestamp when files are generated. true
withGoCodegenComment whether to include Go codegen comment to disable Go Lint and collapse by default GitHub in PRs and diffs 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) false
prependFormOrBodyParameters Add form or body parameters to the beginning of the parameter list. false