mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-19 23:30:56 +00:00
2.5 KiB
2.5 KiB
title | sidebar_label |
---|---|
Config Options for go-experimental | go-experimental |
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 | |
isGoSubmodule | whether the generated Go module is a submodule | false | |
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 | |
enumClassPrefix | Prefix enum with class name | false | |
structPrefix | whether to prefix struct with the class name. e.g. DeletePetOpts => PetApiDeletePetOpts | false | |
withAWSV4Signature | whether to include AWS v4 signature support | false | |
prependFormOrBodyParameters | Add form or body parameters to the beginning of the parameter list. | false |
IMPORT MAPPING
Type/Alias | Imports |
---|
INSTANTIATION TYPES
Type/Alias | Instantiated By |
---|
LANGUAGE PRIMITIVES
- string
- bool
- byte
- float32
- float64
- uint
- int
- complex64
- rune
- int32
- int64
- complex128
- uint64
- uint32
RESERVED WORDS
- struct
- defer
- select
- string
- bool
- const
- import
- for
- range
- float64
- interface
- type
- error
- complex64
- rune
- switch
- nil
- default
- goto
- int64
- else
- continue
- int8
- uint32
- uint16
- map
- if
- case
- package
- break
- byte
- var
- go
- float32
- uint
- int
- int16
- func
- int32
- complex128
- uint64
- uint8
- chan
- fallthrough
- uintptr
- return