Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bin/configs/c-bearer-auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ generatorName: c
outputDir: samples/client/others/c/bearerAuth
inputSpec: modules/openapi-generator/src/test/resources/3_0/c/bearer_auth.yaml
templateDir: modules/openapi-generator/src/main/resources/C-libcurl
additionalProperties:
disallowAdditionalPropertiesIfNotPresent: true
2 changes: 2 additions & 0 deletions bin/configs/cpp-restbed-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ generatorName: cpp-restbed-server
outputDir: samples/server/petstore/cpp-restbed/generated/3_0
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
templateDir: modules/openapi-generator/src/main/resources/cpp-restbed-server
additionalProperties:
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/cpp-restsdk-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/cpp-restsdk/petstore
templateDir: modules/openapi-generator/src/main/resources/cpp-rest-sdk-client
additionalProperties:
packageName: CppRestPetstoreClient
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/csharp-generichost-latest-composedEnum.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ additionalProperties:
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
modelPropertySorting: alphabetical
operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true
validateSpec: false
1 change: 1 addition & 0 deletions bin/configs/csharp-generichost-latest-helloWorld.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ additionalProperties:
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
modelPropertySorting: alphabetical
operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/csharp-generichost-latest-inlineEnumAnyOf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ additionalProperties:
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
modelPropertySorting: alphabetical
operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true
validateSpec: false
inlineSchemaOptions:
RESOLVE_INLINE_ENUMS: true
1 change: 1 addition & 0 deletions bin/configs/csharp-generichost-latest-oneOfList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ additionalProperties:
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
modelPropertySorting: alphabetical
operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ additionalProperties:
targetFramework: net47
modelPropertySorting: alphabetical
operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ additionalProperties:
targetFramework: net48
modelPropertySorting: alphabetical
operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ additionalProperties:
targetFramework: net8.0
modelPropertySorting: alphabetical
operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ additionalProperties:
targetFramework: net9.0
modelPropertySorting: alphabetical
operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ additionalProperties:
targetFramework: netstandard2.1;net47
useCompareNetObjects: "true"
equatable: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/csharp-restsharp-net8-compareNetObjects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ additionalProperties:
targetFramework: net8.0
useCompareNetObjects: "true"
equatable: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/csharp-restsharp-net8-echo-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ additionalProperties:
setCompareNetObjects: "true"
hideGenerationTimestamp: "true"
equatable: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/csharp-restsharp-net8-name-mappings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ additionalProperties:
hideGenerationTimestamp: "true"
targetFramework: net8.0
equatable: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/csharp-restsharp-net8-useDateTimeForDate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ additionalProperties:
packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}'
targetFramework: net8.0
useDateTimeForDate: true
disallowAdditionalPropertiesIfNotPresent: true
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ additionalProperties:
targetFramework: netstandard2.0
useCompareNetObjects: "true"
equatable: true
disallowAdditionalPropertiesIfNotPresent: true
globalProperties:
skipFormModel: "false"
1 change: 1 addition & 0 deletions bin/configs/csharp-restsharp-useVirtualForHooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ additionalProperties:
packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}'
targetFramework: net8.0
useVirtualForHooks: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/csharp-unityWebRequest-net9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ library: unityWebRequest
additionalProperties:
targetFramework: net9.0
equatable: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/csharp-unityWebRequest-netstandard2.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ library: unityWebRequest
additionalProperties:
targetFramework: netstandard2.0
equatable: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/dart-dio-petstore-client-lib-fake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ typeMappings:
additionalProperties:
hideGenerationTimestamp: "true"
enumUnknownDefaultCase: "true"
disallowAdditionalPropertiesIfNotPresent: true
reservedWordsMappings:
class: "classField"
1 change: 1 addition & 0 deletions bin/configs/go-echo-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
templateDir: modules/openapi-generator/src/main/resources/go
additionalProperties:
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/go-echo-external-refs-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/external-refs/echo_a
templateDir: modules/openapi-generator/src/main/resources/go
additionalProperties:
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/go-multiple-allof-ref-with-discriminator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ outputDir: samples/client/others/go/allof_multiple_ref_and_discriminator
inputSpec: modules/openapi-generator/src/test/resources/3_0/go/allof_multiple_ref_and_discriminator.yaml
additionalProperties:
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/go-oneof-anyof-required.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ outputDir: samples/client/others/go/oneof-anyof-required
inputSpec: modules/openapi-generator/src/test/resources/3_0/go/spec-with-oneof-anyof-required.yaml
additionalProperties:
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/go-oneof-discriminator-lookup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/go/spec-with-oneof-d
additionalProperties:
useOneOfDiscriminatorLookup: "true"
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 0 additions & 1 deletion bin/configs/go-petstore-generateMarshalJSON-false.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/go
additionalProperties:
enumClassPrefix: "true"
packageName: petstore
disallowAdditionalPropertiesIfNotPresent: false
generateMarshalJSON: false
1 change: 1 addition & 0 deletions bin/configs/go-petstore-oas2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/go
additionalProperties:
packageName: petstore
generateInterfaces: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 0 additions & 1 deletion bin/configs/go-petstore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ parameterNameMappings:
additionalProperties:
enumClassPrefix: "true"
packageName: petstore
disallowAdditionalPropertiesIfNotPresent: false
generateInterfaces: true
useDefaultValuesForRequiredVars: "true"
enumNameMappings:
Expand Down
1 change: 1 addition & 0 deletions bin/configs/java-feign-gson-echo-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ additionalProperties:
serializationLibrary: gson
artifactId: echo-api-feign-json
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
3 changes: 2 additions & 1 deletion bin/configs/java-feign-hc5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
booleanGetterPrefix: is
artifactId: petstore-feign-hc5
hideGenerationTimestamp: "true"
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-feign-no-nullable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ additionalProperties:
openApiNullable: false
useReflectionEqualsHashCode: true
annotationLibrary: "swagger1"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-feign.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ additionalProperties:
booleanGetterPrefix: is
artifactId: petstore-feign
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-jersey2-8-oas2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ additionalProperties:
serverPort: "8082"
dateLibrary: java8
useOneOfDiscriminatorLookup: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-jersey2-8-oneOfDuplicateList.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf_duplicateArray
templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-jersey2-8-oneOfMixed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf_primitiveAndAr
templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 0 additions & 1 deletion bin/configs/java-jersey2-8-swagger1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ additionalProperties:
serverPort: "8082"
dateLibrary: java8
useOneOfDiscriminatorLookup: true
disallowAdditionalPropertiesIfNotPresent: false
gradleProperties: "\n# JVM arguments\norg.gradle.jvmargs=-Xmx2024m -XX:MaxPermSize=512m\n# set timeout\norg.gradle.daemon.idletimeout=3600000\n# show all warnings\norg.gradle.warning.mode=all"
annotationLibrary: "swagger1"
1 change: 0 additions & 1 deletion bin/configs/java-jersey2-8-swagger2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ additionalProperties:
serverPort: "8082"
dateLibrary: java8
useOneOfDiscriminatorLookup: true
disallowAdditionalPropertiesIfNotPresent: false
gradleProperties: "\n# JVM arguments\norg.gradle.jvmargs=-Xmx2024m -XX:MaxPermSize=512m\n# set timeout\norg.gradle.daemon.idletimeout=3600000\n# show all warnings\norg.gradle.warning.mode=all"
annotationLibrary: "swagger2"
1 change: 0 additions & 1 deletion bin/configs/java-jersey2-8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ additionalProperties:
serverPort: "8082"
dateLibrary: java8
useOneOfDiscriminatorLookup: true
disallowAdditionalPropertiesIfNotPresent: false
gradleProperties: "\n# JVM arguments\norg.gradle.jvmargs=-Xmx2024m -XX:MaxPermSize=512m\n# set timeout\norg.gradle.daemon.idletimeout=3600000\n# show all warnings\norg.gradle.warning.mode=all"
failOnUnknownProperties: true
useReflectionEqualsHashCode: true
1 change: 1 addition & 0 deletions bin/configs/java-jersey2-java8-localdatetime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ additionalProperties:
dateLibrary: java8-localdatetime
java8: true
delegatePattern: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 0 additions & 1 deletion bin/configs/java-jersey2-special-characters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ additionalProperties:
serverPort: "8082"
dateLibrary: java8
useOneOfDiscriminatorLookup: true
disallowAdditionalPropertiesIfNotPresent: false
validateSpec: false
1 change: 1 addition & 0 deletions bin/configs/java-jersey3-oneOf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf_additionalProp
templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
hideGenerationTimestamp: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 0 additions & 1 deletion bin/configs/java-jersey3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ additionalProperties:
serverPort: "8082"
dateLibrary: java8
useOneOfDiscriminatorLookup: true
disallowAdditionalPropertiesIfNotPresent: false
gradleProperties: "\n# JVM arguments\norg.gradle.jvmargs=-Xmx2024m -XX:MaxPermSize=512m\n# set timeout\norg.gradle.daemon.idletimeout=3600000\n# show all warnings\norg.gradle.warning.mode=all"
failOnUnknownProperties: true
useReflectionEqualsHashCode: true
1 change: 1 addition & 0 deletions bin/configs/java-microprofile-rest-client-3.0-jackson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ additionalProperties:
microprofileRestClientVersion: "3.0"
hideGenerationTimestamp: true
useReflectionEqualsHashCode: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-native-async.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ additionalProperties:
artifactId: petstore-native
hideGenerationTimestamp: "true"
asyncNative: "true"
disallowAdditionalPropertiesIfNotPresent: true
2 changes: 1 addition & 1 deletion bin/configs/java-native-echo-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
artifactId: echo-api-native
hideGenerationTimestamp: "true"

disallowAdditionalPropertiesIfNotPresent: true
typeMappings:
OffsetDateTime: "Instant"
importMappings:
Expand Down
1 change: 1 addition & 0 deletions bin/configs/java-native.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ additionalProperties:
hideGenerationTimestamp: "true"
generateBuilders: true
useReflectionEqualsHashCode: "true"
disallowAdditionalPropertiesIfNotPresent: true
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ validateSpec: false
additionalProperties:
artifactId: petstore-okhttp-gson-31-do
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: false
openapiNormalizer:
FIX_DUPLICATED_OPERATIONID: true
1 change: 0 additions & 1 deletion bin/configs/java-okhttp-gson-3.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ additionalProperties:
artifactId: petstore-okhttp-gson-31
hideGenerationTimestamp: "true"
useOneOfDiscriminatorLookup: "true"
disallowAdditionalPropertiesIfNotPresent: false
enumPropertyNaming: legacy
openapiNormalizer:
FIX_DUPLICATED_OPERATIONID: true
1 change: 0 additions & 1 deletion bin/configs/java-okhttp-gson-awsv4signature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ additionalProperties:
artifactId: okhttp-gson-awsv4signature
hideGenerationTimestamp: "true"
useOneOfDiscriminatorLookup: "true"
disallowAdditionalPropertiesIfNotPresent: false
withAWSV4Signature: true
1 change: 1 addition & 0 deletions bin/configs/java-okhttp-gson-dynamicOperations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ additionalProperties:
artifactId: petstore-okhttp-gson-dynamicoperations
hideGenerationTimestamp: "true"
dynamicOperations: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-okhttp-gson-echo-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
artifactId: echo-api-okhttp-gson
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 0 additions & 1 deletion bin/configs/java-okhttp-gson-group-parameter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
artifactId: petstore-okhttp-gson-group-parameter
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: false
useSingleRequestParameter: true
1 change: 0 additions & 1 deletion bin/configs/java-okhttp-gson-nullable-required.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ additionalProperties:
artifactId: nullable-required-okhttp-gson
hideGenerationTimestamp: "true"
useOneOfDiscriminatorLookup: "true"
disallowAdditionalPropertiesIfNotPresent: false
1 change: 1 addition & 0 deletions bin/configs/java-okhttp-gson-oneOf-array.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
hideGenerationTimestamp: "true"
useBeanValidation: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-okhttp-gson-parcelableModel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ additionalProperties:
parcelableModel: "true"
artifactId: petstore-okhttp-gson-parcelableModel
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-okhttp-gson-streaming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ additionalProperties:
supportStreaming: true
serializableModel: true
enumPropertyNaming: legacy
disallowAdditionalPropertiesIfNotPresent: true
1 change: 0 additions & 1 deletion bin/configs/java-okhttp-gson-swagger1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ additionalProperties:
artifactId: petstore-okhttp-gson
hideGenerationTimestamp: "true"
useOneOfDiscriminatorLookup: "true"
disallowAdditionalPropertiesIfNotPresent: false
annotationLibrary: "swagger1"
openapiNormalizer:
SET_TAGS_FOR_ALL_OPERATIONS: common
1 change: 0 additions & 1 deletion bin/configs/java-okhttp-gson-swagger2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ additionalProperties:
artifactId: petstore-okhttp-gson
hideGenerationTimestamp: "true"
useOneOfDiscriminatorLookup: "true"
disallowAdditionalPropertiesIfNotPresent: false
annotationLibrary: "swagger2"

1 change: 0 additions & 1 deletion bin/configs/java-okhttp-gson.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ additionalProperties:
artifactId: petstore-okhttp-gson
hideGenerationTimestamp: true
useOneOfDiscriminatorLookup: true
disallowAdditionalPropertiesIfNotPresent: false
useReflectionEqualsHashCode:: true
removeEnumValuePrefix: true
enumNameMappings:
Expand Down
1 change: 1 addition & 0 deletions bin/configs/java-okhttp-user-defined-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
files:
README.mustache:
destinationFilename: info.md
Expand Down
2 changes: 1 addition & 1 deletion bin/configs/java-restclient-echo-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
artifactId: echo-api-native
hideGenerationTimestamp: "true"

disallowAdditionalPropertiesIfNotPresent: true
typeMappings:
OffsetDateTime: "Instant"
importMappings:
Expand Down
1 change: 1 addition & 0 deletions bin/configs/java-restclient-swagger2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ additionalProperties:
hideGenerationTimestamp: "true"
containerDefaultToNull: "true"
annotationLibrary: "swagger2"
disallowAdditionalPropertiesIfNotPresent: true
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties:
artifactId: singleparam-restclient-static
hideGenerationTimestamp: "true"
useSingleRequestParameter: static
useSingleRequestParameter: static
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-restclient-useSingleRequestParameter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ additionalProperties:
artifactId: singleparam-restclient
hideGenerationTimestamp: "true"
useSingleRequestParameter: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-restclient.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ additionalProperties:
artifactId: petstore-restclient
hideGenerationTimestamp: "true"
containerDefaultToNull: "true"
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-resttemplate-echo-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ additionalProperties:
hideGenerationTimestamp: "true"
java8: true
containerDefaultToNull: true
disallowAdditionalPropertiesIfNotPresent: true
1 change: 1 addition & 0 deletions bin/configs/java-resttemplate-withXml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ additionalProperties:
withXml: "true"
artifactId: petstore-resttemplate-withxml
hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
Loading
Loading