mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 18:45:23 +00:00
c918d7ad64
* 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
796 B
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 |