OpenAPI Generator

OpenAPI Generator

  • Get Started
  • Generators
  • Roadmap
  • Team
  • FAQ
  • Blog

generators/go


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


OptionDescriptionValuesDefault
packageNameGo package name (convention: lowercase).openapi
hideGenerationTimestampHides the generation timestamp when files are generated.true
packageVersionGo package version.1.0.0
withGoCodegenCommentwhether to include Go codegen comment to disable Go Lint and collapse by default GitHub in PRs and diffsfalse
withXmlwhether 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
prependFormOrBodyParametersAdd form or body parameters to the beginning of the parameter list.false
Last updated on 2019-1-18
OpenAPI Generator
Docs
Customizing GeneratorsWorkflow Integrations
Community
User ShowcaseStack OverflowChat RoomTwitter
More
BlogGitHub RepoStar
Copyright © 2019 OpenAPI-Generator Contributors (https://openapi-generator.tech). (Both "OpenAPI Tools" (https://OpenAPITools.org) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI))