You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generates a Go server library using OpenAPI-Generator. By default, it will also generate service classes -- which you can disable with the -Dnoservice environment variable.
CONFIG OPTIONS
These options may be applied as additional-properties (cli) or configOptions (plugins). Refer to configuration docs for more details.
Option
Description
Values
Default
addResponseHeaders
To include response headers in ImplResponse
false
enumClassPrefix
Prefix enum with class name
false
featureCORS
Enable Cross-Origin Resource Sharing middleware
false
hideGenerationTimestamp
Hides the generation timestamp when files are generated.
true
onlyInterfaces
Exclude default service creators from output; only generate interfaces
false
outputAsLibrary
Exclude main.go, go.mod, and Dockerfile from output