Merge 2d4fb514cac45c0b01719e610306fb9c67276d5d into d6c46342693205f0dae441b45742d9c85d41cf33

This commit is contained in:
Charles Treatman 2025-05-09 11:31:47 +02:00 committed by GitHub
commit d0ed7cae6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
412 changed files with 1165 additions and 152 deletions

View File

@ -2,3 +2,5 @@ generatorName: c
outputDir: samples/client/others/c/bearerAuth outputDir: samples/client/others/c/bearerAuth
inputSpec: modules/openapi-generator/src/test/resources/3_0/c/bearer_auth.yaml inputSpec: modules/openapi-generator/src/test/resources/3_0/c/bearer_auth.yaml
templateDir: modules/openapi-generator/src/main/resources/C-libcurl templateDir: modules/openapi-generator/src/main/resources/C-libcurl
additionalProperties:
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -2,3 +2,5 @@ generatorName: cpp-restbed-server
outputDir: samples/server/petstore/cpp-restbed/generated/3_0 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 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 templateDir: modules/openapi-generator/src/main/resources/cpp-restbed-server
additionalProperties:
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}' packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
modelPropertySorting: alphabetical modelPropertySorting: alphabetical
operationParameterSorting: alphabetical operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}' packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
modelPropertySorting: alphabetical modelPropertySorting: alphabetical
operationParameterSorting: alphabetical operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
targetFramework: net47 targetFramework: net47
modelPropertySorting: alphabetical modelPropertySorting: alphabetical
operationParameterSorting: alphabetical operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
targetFramework: net48 targetFramework: net48
modelPropertySorting: alphabetical modelPropertySorting: alphabetical
operationParameterSorting: alphabetical operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
targetFramework: net8.0 targetFramework: net8.0
modelPropertySorting: alphabetical modelPropertySorting: alphabetical
operationParameterSorting: alphabetical operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
targetFramework: net9.0 targetFramework: net9.0
modelPropertySorting: alphabetical modelPropertySorting: alphabetical
operationParameterSorting: alphabetical operationParameterSorting: alphabetical
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -8,3 +8,4 @@ additionalProperties:
targetFramework: netstandard2.1;net47 targetFramework: netstandard2.1;net47
useCompareNetObjects: "true" useCompareNetObjects: "true"
equatable: true equatable: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -8,3 +8,4 @@ additionalProperties:
targetFramework: net8.0 targetFramework: net8.0
useCompareNetObjects: "true" useCompareNetObjects: "true"
equatable: true equatable: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
setCompareNetObjects: "true" setCompareNetObjects: "true"
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
equatable: true equatable: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -18,3 +18,4 @@ additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
targetFramework: net8.0 targetFramework: net8.0
equatable: true equatable: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -8,3 +8,4 @@ additionalProperties:
packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}' packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}'
targetFramework: net8.0 targetFramework: net8.0
useDateTimeForDate: true useDateTimeForDate: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -8,5 +8,6 @@ additionalProperties:
targetFramework: netstandard2.0 targetFramework: netstandard2.0
useCompareNetObjects: "true" useCompareNetObjects: "true"
equatable: true equatable: true
disallowAdditionalPropertiesIfNotPresent: true
globalProperties: globalProperties:
skipFormModel: "false" skipFormModel: "false"

View File

@ -8,3 +8,4 @@ additionalProperties:
packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}' packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}'
targetFramework: net8.0 targetFramework: net8.0
useVirtualForHooks: true useVirtualForHooks: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ library: unityWebRequest
additionalProperties: additionalProperties:
targetFramework: net9.0 targetFramework: net9.0
equatable: true equatable: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ library: unityWebRequest
additionalProperties: additionalProperties:
targetFramework: netstandard2.0 targetFramework: netstandard2.0
equatable: true equatable: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,5 +9,6 @@ typeMappings:
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
enumUnknownDefaultCase: "true" enumUnknownDefaultCase: "true"
disallowAdditionalPropertiesIfNotPresent: true
reservedWordsMappings: reservedWordsMappings:
class: "classField" class: "classField"

View File

@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
templateDir: modules/openapi-generator/src/main/resources/go templateDir: modules/openapi-generator/src/main/resources/go
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -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 templateDir: modules/openapi-generator/src/main/resources/go
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -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 inputSpec: modules/openapi-generator/src/test/resources/3_0/go/allof_multiple_ref_and_discriminator.yaml
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -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 inputSpec: modules/openapi-generator/src/test/resources/3_0/go/spec-with-oneof-anyof-required.yaml
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/go/spec-with-oneof-d
additionalProperties: additionalProperties:
useOneOfDiscriminatorLookup: "true" useOneOfDiscriminatorLookup: "true"
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/go
additionalProperties: additionalProperties:
packageName: petstore packageName: petstore
generateInterfaces: true generateInterfaces: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
serializationLibrary: gson serializationLibrary: gson
artifactId: echo-api-feign-json artifactId: echo-api-feign-json
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -6,4 +6,5 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties: additionalProperties:
booleanGetterPrefix: is booleanGetterPrefix: is
artifactId: petstore-feign-hc5 artifactId: petstore-feign-hc5
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -11,3 +11,4 @@ additionalProperties:
openApiNullable: false openApiNullable: false
useReflectionEqualsHashCode: true useReflectionEqualsHashCode: true
annotationLibrary: "swagger1" annotationLibrary: "swagger1"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
booleanGetterPrefix: is booleanGetterPrefix: is
artifactId: petstore-feign artifactId: petstore-feign
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
serverPort: "8082" serverPort: "8082"
dateLibrary: java8 dateLibrary: java8
useOneOfDiscriminatorLookup: true useOneOfDiscriminatorLookup: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -5,3 +5,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf_duplicateArray
templateDir: modules/openapi-generator/src/main/resources/Java templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -5,3 +5,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf_primitiveAndAr
templateDir: modules/openapi-generator/src/main/resources/Java templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
dateLibrary: java8-localdatetime dateLibrary: java8-localdatetime
java8: true java8: true
delegatePattern: true delegatePattern: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -5,3 +5,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf_additionalProp
templateDir: modules/openapi-generator/src/main/resources/Java templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties: additionalProperties:
hideGenerationTimestamp: true hideGenerationTimestamp: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
artifactId: petstore-okhttp-gson-dynamicoperations artifactId: petstore-okhttp-gson-dynamicoperations
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
dynamicOperations: "true" dynamicOperations: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -6,3 +6,4 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties: additionalProperties:
artifactId: echo-api-okhttp-gson artifactId: echo-api-okhttp-gson
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -6,3 +6,4 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
useBeanValidation: "true" useBeanValidation: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
parcelableModel: "true" parcelableModel: "true"
artifactId: petstore-okhttp-gson-parcelableModel artifactId: petstore-okhttp-gson-parcelableModel
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
supportStreaming: true supportStreaming: true
serializableModel: true serializableModel: true
enumPropertyNaming: legacy enumPropertyNaming: legacy
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -5,6 +5,7 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
templateDir: modules/openapi-generator/src/main/resources/Java templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
files: files:
README.mustache: README.mustache:
destinationFilename: info.md destinationFilename: info.md

View File

@ -6,7 +6,7 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties: additionalProperties:
artifactId: echo-api-native artifactId: echo-api-native
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true
typeMappings: typeMappings:
OffsetDateTime: "Instant" OffsetDateTime: "Instant"
importMappings: importMappings:

View File

@ -8,3 +8,4 @@ additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
containerDefaultToNull: "true" containerDefaultToNull: "true"
annotationLibrary: "swagger2" annotationLibrary: "swagger2"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -6,4 +6,5 @@ templateDir: modules/openapi-generator/src/main/resources/Java
additionalProperties: additionalProperties:
artifactId: singleparam-restclient-static artifactId: singleparam-restclient-static
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
useSingleRequestParameter: static useSingleRequestParameter: static
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
artifactId: singleparam-restclient artifactId: singleparam-restclient
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
useSingleRequestParameter: true useSingleRequestParameter: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
artifactId: petstore-restclient artifactId: petstore-restclient
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
containerDefaultToNull: "true" containerDefaultToNull: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -8,3 +8,4 @@ additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
java8: true java8: true
containerDefaultToNull: true containerDefaultToNull: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -8,3 +8,4 @@ additionalProperties:
withXml: "true" withXml: "true"
artifactId: petstore-resttemplate-withxml artifactId: petstore-resttemplate-withxml
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -10,3 +10,4 @@ additionalProperties:
containerDefaultToNull: true containerDefaultToNull: true
generateConstructorWithAllArgs: true generateConstructorWithAllArgs: true
generateBuilders: true generateBuilders: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
artifactId: petstore-webclient artifactId: petstore-webclient
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
useJakartaEe: true useJakartaEe: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -8,3 +8,4 @@ additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
containerDefaultToNull: "true" containerDefaultToNull: "true"
annotationLibrary: "swagger2" annotationLibrary: "swagger2"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
artifactId: singleparam-webclient artifactId: singleparam-webclient
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
useSingleRequestParameter: true useSingleRequestParameter: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
artifactId: petstore-webclient artifactId: petstore-webclient
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
containerDefaultToNull: "true" containerDefaultToNull: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
implicitHeadersRegex: (api_key|enum_header_string) implicitHeadersRegex: (api_key|enum_header_string)
generateBuilders: "true" generateBuilders: "true"
useJakartaEe: "true" useJakartaEe: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -11,3 +11,4 @@ additionalProperties:
useMicroProfileOpenAPIAnnotations: "true" useMicroProfileOpenAPIAnnotations: "true"
library: "quarkus" library: "quarkus"
dateLibrary: "java8-localdatetime" dateLibrary: "java8-localdatetime"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -13,3 +13,4 @@ additionalProperties:
useMutiny: "true" useMutiny: "true"
library: "quarkus" library: "quarkus"
dateLibrary: "java8-localdatetime" dateLibrary: "java8-localdatetime"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -8,3 +8,4 @@ additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
implicitHeadersRegex: (api_key|enum_header_string) implicitHeadersRegex: (api_key|enum_header_string)
generateBuilders: "true" generateBuilders: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -8,3 +8,4 @@ additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
implicitHeadersRegex: (api_key|enum_header_string) implicitHeadersRegex: (api_key|enum_header_string)
generateBuilders: "true" generateBuilders: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/powershell
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
packageGuid: a27b908d-2a20-467f-bc32-af6f3a654ac5 packageGuid: a27b908d-2a20-467f-bc32-af6f3a654ac5
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -14,6 +14,7 @@ additionalProperties:
projectUri: https://github.com/OpenAPITools/openapi-generator projectUri: https://github.com/OpenAPITools/openapi-generator
releaseNotes: 'This is a sample project' releaseNotes: 'This is a sample project'
tags: 'PetStore,powershell,sdk' tags: 'PetStore,powershell,sdk'
disallowAdditionalPropertiesIfNotPresent: true
nameMappings: nameMappings:
name_mapping: SomethingElse name_mapping: SomethingElse
modelNameMappings: modelNameMappings:

View File

@ -4,6 +4,7 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/protobuf/petstore.ya
templateDir: modules/openapi-generator/src/main/resources/protobuf-schema templateDir: modules/openapi-generator/src/main/resources/protobuf-schema
additionalProperties: additionalProperties:
packageName: petstore packageName: petstore
disallowAdditionalPropertiesIfNotPresent: true
typeMappings: typeMappings:
object: "google.protobuf.Struct" object: "google.protobuf.Struct"
importMappings: importMappings:

View File

@ -6,6 +6,7 @@ library: asyncio
additionalProperties: additionalProperties:
packageName: petstore_api packageName: petstore_api
mapNumberTo: float mapNumberTo: float
disallowAdditionalPropertiesIfNotPresent: true
nameMappings: nameMappings:
_type: underscore_type _type: underscore_type
type_: type_with_underscore type_: type_with_underscore

View File

@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
templateDir: modules/openapi-generator/src/main/resources/python templateDir: modules/openapi-generator/src/main/resources/python
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/python-fastapi
sourceFolder: "src" sourceFolder: "src"
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -6,3 +6,4 @@ library: asyncio
additionalProperties: additionalProperties:
packageName: petstore_api packageName: petstore_api
mapNumberTo: float mapNumberTo: float
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
templateDir: modules/openapi-generator/src/main/resources/python-pydantic-v1 templateDir: modules/openapi-generator/src/main/resources/python-pydantic-v1
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
templateDir: modules/openapi-generator/src/main/resources/r templateDir: modules/openapi-generator/src/main/resources/r
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -17,4 +17,4 @@ additionalProperties:
returnExceptionOnFailure: true returnExceptionOnFailure: true
errorObjectType: "ModelApiResponse" errorObjectType: "ModelApiResponse"
operationIdNaming: snake_case operationIdNaming: snake_case
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -6,3 +6,4 @@ generateAliasAsModel: true
additionalProperties: additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
packageName: openapi-v3 packageName: openapi-v3
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
packageName: petstore-with-fake-endpoints-models-for-testing packageName: petstore-with-fake-endpoints-models-for-testing
publishRustRegistry: crates-io publishRustRegistry: crates-io
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -10,4 +10,5 @@ additionalProperties:
modelPackage: "sample.cask.model" modelPackage: "sample.cask.model"
apiPackage: "sample.cask.api" apiPackage: "sample.cask.api"
gitRepoId: "sample-cask-repo" gitRepoId: "sample-cask-repo"
gitUserId: "sample-cask-user" gitUserId: "sample-cask-user"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -11,3 +11,4 @@ additionalProperties:
artifactId: spring-boot-beanvalidation-no-nullable artifactId: spring-boot-beanvalidation-no-nullable
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
openApiNullable: "false" openApiNullable: "false"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -10,3 +10,4 @@ additionalProperties:
useBeanValidation: true useBeanValidation: true
artifactId: spring-boot-beanvalidation artifactId: spring-boot-beanvalidation
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -11,3 +11,4 @@ additionalProperties:
useSpringBuiltInValidation: true useSpringBuiltInValidation: true
artifactId: spring-boot-builtin-validation artifactId: spring-boot-builtin-validation
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
interfaceOnly: true interfaceOnly: true
skipDefaultInterface: true skipDefaultInterface: true
unhandledException: true unhandledException: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
artifactId: springboot-delegate-j8 artifactId: springboot-delegate-j8
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
delegatePattern: "true" delegatePattern: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
java8: true java8: true
delegatePattern: "true" delegatePattern: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
java8: true java8: true
delegatePattern: "true" delegatePattern: "true"
generateConstructorWithAllArgs: true generateConstructorWithAllArgs: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
artifactId: springboot-implicitHeaders artifactId: springboot-implicitHeaders
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
implicitHeaders: true implicitHeaders: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -7,3 +7,4 @@ additionalProperties:
documentationProvider: springfox documentationProvider: springfox
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
implicitHeadersRegex: .* implicitHeadersRegex: .*
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
snapshotVersion: "true" snapshotVersion: "true"
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
generateBuilders: true generateBuilders: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -10,3 +10,4 @@ additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
delegatePattern: "true" delegatePattern: "true"
useResponseEntity: "false" useResponseEntity: "false"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
reactive: "true" reactive: "true"
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
delegatePattern: "true" delegatePattern: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
artifactId: spring-boot-useoptional artifactId: spring-boot-useoptional
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
generateBuilders: true generateBuilders: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -10,3 +10,4 @@ additionalProperties:
virtualService: true virtualService: true
artifactId: springboot-virtualan artifactId: springboot-virtualan
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
camelCaseDollarSign: "true" camelCaseDollarSign: "true"
modelNameSuffix: 'Dto' modelNameSuffix: 'Dto'
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -12,3 +12,4 @@ additionalProperties:
hideGenerationTimestamp: "true" hideGenerationTimestamp: "true"
generatedConstructorWithRequiredArgs: "false" generatedConstructorWithRequiredArgs: "false"
useTags: "true" useTags: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -17,3 +17,4 @@ additionalProperties:
useBeanValidation: "true" useBeanValidation: "true"
performBeanValidation: "true" performBeanValidation: "true"
useResponseEntity: "false" useResponseEntity: "false"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -16,4 +16,4 @@ additionalProperties:
useBeanValidation: "true" useBeanValidation: "true"
performBeanValidation: "true" performBeanValidation: "true"
useResponseEntity: "false" useResponseEntity: "false"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -15,4 +15,4 @@ additionalProperties:
# validation should be ignored # validation should be ignored
useBeanValidation: "true" useBeanValidation: "true"
performBeanValidation: "true" performBeanValidation: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -16,3 +16,4 @@ additionalProperties:
# validation should be ignored # validation should be ignored
useBeanValidation: "true" useBeanValidation: "true"
performBeanValidation: "true" performBeanValidation: "true"
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
documentationProvider: springfox documentationProvider: springfox
artifactId: springboot-spring-pageable-delegatePattern-without-j8 artifactId: springboot-spring-pageable-delegatePattern-without-j8
hideGenerationTimestamp: 'true' hideGenerationTimestamp: 'true'
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -9,3 +9,4 @@ additionalProperties:
artifactId: springboot-spring-pageable-delegatePattern artifactId: springboot-spring-pageable-delegatePattern
hideGenerationTimestamp: 'true' hideGenerationTimestamp: 'true'
implicitHeadersRegex: ^Version.* implicitHeadersRegex: ^Version.*
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -8,3 +8,4 @@ additionalProperties:
documentationProvider: springfox documentationProvider: springfox
artifactId: springboot-spring-pageable-withoutj8 artifactId: springboot-spring-pageable-withoutj8
hideGenerationTimestamp: 'true' hideGenerationTimestamp: 'true'
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -8,3 +8,4 @@ additionalProperties:
artifactId: springboot-spring-pageable artifactId: springboot-spring-pageable
hideGenerationTimestamp: 'true' hideGenerationTimestamp: 'true'
implicitHeadersRegex: ^Version.* implicitHeadersRegex: ^Version.*
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/typescript-fetch/val
templateDir: modules/openapi-generator/src/main/resources/typescript-fetch templateDir: modules/openapi-generator/src/main/resources/typescript-fetch
additionalProperties: additionalProperties:
validationAttributes: true validationAttributes: true
disallowAdditionalPropertiesIfNotPresent: true

View File

@ -19,7 +19,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
| Option | Description | Values | Default | | Option | Description | Values | Default |
| ------ | ----------- | ------ | ------- | | ------ | ----------- | ------ | ------- |
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false| |allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|disallowAdditionalPropertiesIfNotPresent|If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|true| |disallowAdditionalPropertiesIfNotPresent|If false (default), the 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications. If true, keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|false|
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true| |ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false| |enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false|
|httpSupport|The name of the HTTP support library. Possible values include 'curl' or 'aws'.| |null| |httpSupport|The name of the HTTP support library. Possible values include 'curl' or 'aws'.| |null|

View File

@ -19,7 +19,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
| Option | Description | Values | Default | | Option | Description | Values | Default |
| ------ | ----------- | ------ | ------- | | ------ | ----------- | ------ | ------- |
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false| |allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|disallowAdditionalPropertiesIfNotPresent|If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|true| |disallowAdditionalPropertiesIfNotPresent|If false (default), the 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications. If true, keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|false|
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true| |ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false| |enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false|
|httpSupport|The name of the HTTP support library. Possible values include 'curl' or 'aws'.| |null| |httpSupport|The name of the HTTP support library. Possible values include 'curl' or 'aws'.| |null|

View File

@ -25,7 +25,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|apiPackage|package for generated api classes| |null| |apiPackage|package for generated api classes| |null|
|artifactId|artifactId for use in the generated build.gradle and pom.xml| |null| |artifactId|artifactId for use in the generated build.gradle and pom.xml| |null|
|artifactVersion|artifact version for use in the generated build.gradle and pom.xml| |null| |artifactVersion|artifact version for use in the generated build.gradle and pom.xml| |null|
|disallowAdditionalPropertiesIfNotPresent|If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|true| |disallowAdditionalPropertiesIfNotPresent|If false (default), the 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications. If true, keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|false|
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true| |ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false| |enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false|
|groupId|groupId for use in the generated build.gradle and pom.xml| |null| |groupId|groupId for use in the generated build.gradle and pom.xml| |null|

View File

@ -19,7 +19,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
| Option | Description | Values | Default | | Option | Description | Values | Default |
| ------ | ----------- | ------ | ------- | | ------ | ----------- | ------ | ------- |
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false| |allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
|disallowAdditionalPropertiesIfNotPresent|If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|true| |disallowAdditionalPropertiesIfNotPresent|If false (default), the 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications. If true, keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|false|
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true| |ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false| |enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false|
|legacyDiscriminatorBehavior|Set to false for generators with better support for discriminators. (Python, Java, Go, PowerShell, C# have this enabled by default).|<dl><dt>**true**</dt><dd>The mapping in the discriminator includes descendent schemas that allOf inherit from self and the discriminator mapping schemas in the OAS document.</dd><dt>**false**</dt><dd>The mapping in the discriminator includes any descendent schemas that allOf inherit from self, any oneOf schemas, any anyOf schemas, any x-discriminator-values, and the discriminator mapping schemas in the OAS document AND Codegen validates that oneOf and anyOf schemas contain the required discriminator and throws an error if the discriminator is missing.</dd></dl>|true| |legacyDiscriminatorBehavior|Set to false for generators with better support for discriminators. (Python, Java, Go, PowerShell, C# have this enabled by default).|<dl><dt>**true**</dt><dd>The mapping in the discriminator includes descendent schemas that allOf inherit from self and the discriminator mapping schemas in the OAS document.</dd><dt>**false**</dt><dd>The mapping in the discriminator includes any descendent schemas that allOf inherit from self, any oneOf schemas, any anyOf schemas, any x-discriminator-values, and the discriminator mapping schemas in the OAS document AND Codegen validates that oneOf and anyOf schemas contain the required discriminator and throws an error if the discriminator is missing.</dd></dl>|true|

View File

@ -22,7 +22,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|apiVersion|The Metadata API version number to use for components in this package.| |null| |apiVersion|The Metadata API version number to use for components in this package.| |null|
|buildMethod|The build method for this package.| |null| |buildMethod|The build method for this package.| |null|
|classPrefix|Prefix for generated classes. Set this to avoid overwriting existing classes in your org.| |null| |classPrefix|Prefix for generated classes. Set this to avoid overwriting existing classes in your org.| |null|
|disallowAdditionalPropertiesIfNotPresent|If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|true| |disallowAdditionalPropertiesIfNotPresent|If false (default), the 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications. If true, keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|false|
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true| |ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false| |enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false|
|legacyDiscriminatorBehavior|Set to false for generators with better support for discriminators. (Python, Java, Go, PowerShell, C# have this enabled by default).|<dl><dt>**true**</dt><dd>The mapping in the discriminator includes descendent schemas that allOf inherit from self and the discriminator mapping schemas in the OAS document.</dd><dt>**false**</dt><dd>The mapping in the discriminator includes any descendent schemas that allOf inherit from self, any oneOf schemas, any anyOf schemas, any x-discriminator-values, and the discriminator mapping schemas in the OAS document AND Codegen validates that oneOf and anyOf schemas contain the required discriminator and throws an error if the discriminator is missing.</dd></dl>|true| |legacyDiscriminatorBehavior|Set to false for generators with better support for discriminators. (Python, Java, Go, PowerShell, C# have this enabled by default).|<dl><dt>**true**</dt><dd>The mapping in the discriminator includes descendent schemas that allOf inherit from self and the discriminator mapping schemas in the OAS document.</dd><dt>**false**</dt><dd>The mapping in the discriminator includes any descendent schemas that allOf inherit from self, any oneOf schemas, any anyOf schemas, any x-discriminator-values, and the discriminator mapping schemas in the OAS document AND Codegen validates that oneOf and anyOf schemas contain the required discriminator and throws an error if the discriminator is missing.</dd></dl>|true|

View File

@ -23,7 +23,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|appName|short name of the application| |null| |appName|short name of the application| |null|
|artifactId|artifactId in generated pom.xml. This also becomes part of the generated library's filename| |null| |artifactId|artifactId in generated pom.xml. This also becomes part of the generated library's filename| |null|
|artifactVersion|artifact version in generated pom.xml. This also becomes part of the generated library's filename. If not provided, uses the version from the OpenAPI specification file. If that's also not present, uses the default value of the artifactVersion option.| |null| |artifactVersion|artifact version in generated pom.xml. This also becomes part of the generated library's filename. If not provided, uses the version from the OpenAPI specification file. If that's also not present, uses the default value of the artifactVersion option.| |null|
|disallowAdditionalPropertiesIfNotPresent|If false, the 'additionalProperties' implementation (set to true by default) is compliant with the OAS and JSON schema specifications. If true (default), keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|true| |disallowAdditionalPropertiesIfNotPresent|If false (default), the 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications. If true, keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.|<dl><dt>**false**</dt><dd>The 'additionalProperties' implementation is compliant with the OAS and JSON schema specifications.</dd><dt>**true**</dt><dd>Keep the old (incorrect) behaviour that 'additionalProperties' is set to false by default.</dd></dl>|false|
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true| |ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false| |enumUnknownDefaultCase|If the server adds new enum cases, that are unknown by an old spec/client, the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the server sends an enum case that is not known by the client/spec, they can safely fallback to this case.|<dl><dt>**false**</dt><dd>No changes to the enum's are made, this is the default option.</dd><dt>**true**</dt><dd>With this option enabled, each enum will have a new case, 'unknown_default_open_api', so that when the enum case sent by the server is not known by the client/spec, can safely be decoded to this case.</dd></dl>|false|
|groupId|groupId in generated pom.xml| |null| |groupId|groupId in generated pom.xml| |null|

Some files were not shown because too many files have changed in this diff Show More