mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 00:13:50 +00:00
* add default to empty container option * test map default to empty container * update java generators to respect default value * various fixes * fix tests * update doc
26 lines
865 B
YAML
26 lines
865 B
YAML
generatorName: java
|
|
outputDir: samples/client/petstore/java/okhttp-gson
|
|
library: okhttp-gson
|
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/java/petstore-with-fake-endpoints-models-for-testing-okhttp-gson.yaml
|
|
templateDir: modules/openapi-generator/src/main/resources/Java
|
|
nameMappings:
|
|
_type: underscoreType
|
|
type_: typeWithUnderscore
|
|
parameterNameMappings:
|
|
_type: underscoreType
|
|
type_: typeWithUnderscore
|
|
additionalProperties:
|
|
defaultToEmptyContainer: "array?|array|map?"
|
|
artifactId: petstore-okhttp-gson
|
|
hideGenerationTimestamp: true
|
|
useOneOfDiscriminatorLookup: true
|
|
disallowAdditionalPropertiesIfNotPresent: false
|
|
useReflectionEqualsHashCode:: true
|
|
removeEnumValuePrefix: true
|
|
enumNameMappings:
|
|
s: LOWER_CASE_S
|
|
S: UPPER_CASE_S
|
|
operationIdNameMappings:
|
|
getArrayOfEnums: getFakeArrayofenums
|
|
fakeHealthGet: getFakeHealth
|