Option | Description | Values | Default |
featureCORS | Enable Cross-Origin Resource Sharing middleware | | false |
hideGenerationTimestamp | Hides the generation timestamp when files are generated. | | true |
packageName | Go package name (convention: lowercase). | | openapi |
packageVersion | Go package version. | | 1.0.0 |
serverPort | The network port the generated server binds to | | 8080 |
sourceFolder | source folder for generated code | | go |
IMPORT MAPPING
INSTANTIATION TYPES
Type/Alias | Instantiated By |
LANGUAGE PRIMITIVES
- bool
- byte
- complex128
- complex64
- float32
- float64
- int
- int32
- int64
- rune
- string
- uint
- uint32
- uint64
RESERVED WORDS
- bool
- break
- byte
- case
- chan
- complex128
- complex64
- const
- continue
- default
- defer
- else
- error
- fallthrough
- float32
- float64
- for
- func
- go
- goto
- if
- import
- int
- int16
- int32
- int64
- int8
- interface
- map
- nil
- package
- range
- return
- rune
- select
- string
- struct
- switch
- type
- uint
- uint16
- uint32
- uint64
- uint8
- uintptr
- var
Last updated on 1/20/2020