mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-07 20:38:59 +00:00
* use default values for required vars when available * update tests to existing config file * cleanup OAS test * Remove setting value in Get. * Use Pascal Case for variable naming in Getter Function * add a CLI option * add a CLI option * add a CLI option
22 lines
732 B
YAML
22 lines
732 B
YAML
generatorName: go
|
|
outputDir: samples/openapi3/client/petstore/go/go-petstore
|
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/go/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
|
|
templateDir: modules/openapi-generator/src/main/resources/go
|
|
nameMappings:
|
|
_type: UnderscoreType
|
|
type_: TypeWithUnderscore
|
|
http_debug_operation: HTTPDebugOperation
|
|
parameterNameMappings:
|
|
_type: underscoreType
|
|
type_: typeWithUnderscore
|
|
http_debug_operation: httpDebugOperation
|
|
additionalProperties:
|
|
enumClassPrefix: "true"
|
|
packageName: petstore
|
|
disallowAdditionalPropertiesIfNotPresent: false
|
|
generateInterfaces: true
|
|
useDefaultValuesForRequiredVars: "true"
|
|
enumNameMappings:
|
|
delivered: SHIPPED
|
|
|