mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 12:40:53 +00:00
Merge 2d4fb514cac45c0b01719e610306fb9c67276d5d into d6c46342693205f0dae441b45742d9c85d41cf33
This commit is contained in:
commit
d0ed7cae6d
@ -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,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
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||
modelPropertySorting: alphabetical
|
||||
operationParameterSorting: alphabetical
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||
modelPropertySorting: alphabetical
|
||||
operationParameterSorting: alphabetical
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
targetFramework: net47
|
||||
modelPropertySorting: alphabetical
|
||||
operationParameterSorting: alphabetical
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
targetFramework: net48
|
||||
modelPropertySorting: alphabetical
|
||||
operationParameterSorting: alphabetical
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
targetFramework: net8.0
|
||||
modelPropertySorting: alphabetical
|
||||
operationParameterSorting: alphabetical
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
targetFramework: net9.0
|
||||
modelPropertySorting: alphabetical
|
||||
operationParameterSorting: alphabetical
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
targetFramework: netstandard2.1;net47
|
||||
useCompareNetObjects: "true"
|
||||
equatable: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
targetFramework: net8.0
|
||||
useCompareNetObjects: "true"
|
||||
equatable: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
setCompareNetObjects: "true"
|
||||
hideGenerationTimestamp: "true"
|
||||
equatable: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -18,3 +18,4 @@ additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
targetFramework: net8.0
|
||||
equatable: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}'
|
||||
targetFramework: net8.0
|
||||
useDateTimeForDate: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -8,5 +8,6 @@ additionalProperties:
|
||||
targetFramework: netstandard2.0
|
||||
useCompareNetObjects: "true"
|
||||
equatable: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
globalProperties:
|
||||
skipFormModel: "false"
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}'
|
||||
targetFramework: net8.0
|
||||
useVirtualForHooks: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ library: unityWebRequest
|
||||
additionalProperties:
|
||||
targetFramework: net9.0
|
||||
equatable: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ library: unityWebRequest
|
||||
additionalProperties:
|
||||
targetFramework: netstandard2.0
|
||||
equatable: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,5 +9,6 @@ typeMappings:
|
||||
additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
enumUnknownDefaultCase: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
reservedWordsMappings:
|
||||
class: "classField"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/go
|
||||
additionalProperties:
|
||||
packageName: petstore
|
||||
generateInterfaces: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
serializationLibrary: gson
|
||||
artifactId: echo-api-feign-json
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -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
|
||||
|
@ -11,3 +11,4 @@ additionalProperties:
|
||||
openApiNullable: false
|
||||
useReflectionEqualsHashCode: true
|
||||
annotationLibrary: "swagger1"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
booleanGetterPrefix: is
|
||||
artifactId: petstore-feign
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
serverPort: "8082"
|
||||
dateLibrary: java8
|
||||
useOneOfDiscriminatorLookup: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
dateLibrary: java8-localdatetime
|
||||
java8: true
|
||||
delegatePattern: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -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
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
artifactId: petstore-okhttp-gson-dynamicoperations
|
||||
hideGenerationTimestamp: "true"
|
||||
dynamicOperations: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -6,3 +6,4 @@ templateDir: modules/openapi-generator/src/main/resources/Java
|
||||
additionalProperties:
|
||||
artifactId: echo-api-okhttp-gson
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -6,3 +6,4 @@ templateDir: modules/openapi-generator/src/main/resources/Java
|
||||
additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
useBeanValidation: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
parcelableModel: "true"
|
||||
artifactId: petstore-okhttp-gson-parcelableModel
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
supportStreaming: true
|
||||
serializableModel: true
|
||||
enumPropertyNaming: legacy
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
containerDefaultToNull: "true"
|
||||
annotationLibrary: "swagger2"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -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
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
artifactId: singleparam-restclient
|
||||
hideGenerationTimestamp: "true"
|
||||
useSingleRequestParameter: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
artifactId: petstore-restclient
|
||||
hideGenerationTimestamp: "true"
|
||||
containerDefaultToNull: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
java8: true
|
||||
containerDefaultToNull: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
withXml: "true"
|
||||
artifactId: petstore-resttemplate-withxml
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -10,3 +10,4 @@ additionalProperties:
|
||||
containerDefaultToNull: true
|
||||
generateConstructorWithAllArgs: true
|
||||
generateBuilders: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
artifactId: petstore-webclient
|
||||
hideGenerationTimestamp: "true"
|
||||
useJakartaEe: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
containerDefaultToNull: "true"
|
||||
annotationLibrary: "swagger2"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
artifactId: singleparam-webclient
|
||||
hideGenerationTimestamp: "true"
|
||||
useSingleRequestParameter: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
artifactId: petstore-webclient
|
||||
hideGenerationTimestamp: "true"
|
||||
containerDefaultToNull: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
implicitHeadersRegex: (api_key|enum_header_string)
|
||||
generateBuilders: "true"
|
||||
useJakartaEe: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -11,3 +11,4 @@ additionalProperties:
|
||||
useMicroProfileOpenAPIAnnotations: "true"
|
||||
library: "quarkus"
|
||||
dateLibrary: "java8-localdatetime"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -13,3 +13,4 @@ additionalProperties:
|
||||
useMutiny: "true"
|
||||
library: "quarkus"
|
||||
dateLibrary: "java8-localdatetime"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
implicitHeadersRegex: (api_key|enum_header_string)
|
||||
generateBuilders: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
implicitHeadersRegex: (api_key|enum_header_string)
|
||||
generateBuilders: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/powershell
|
||||
additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
packageGuid: a27b908d-2a20-467f-bc32-af6f3a654ac5
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -14,6 +14,7 @@ additionalProperties:
|
||||
projectUri: https://github.com/OpenAPITools/openapi-generator
|
||||
releaseNotes: 'This is a sample project'
|
||||
tags: 'PetStore,powershell,sdk'
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
nameMappings:
|
||||
name_mapping: SomethingElse
|
||||
modelNameMappings:
|
||||
|
@ -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
|
||||
additionalProperties:
|
||||
packageName: petstore
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
typeMappings:
|
||||
object: "google.protobuf.Struct"
|
||||
importMappings:
|
||||
|
@ -6,6 +6,7 @@ library: asyncio
|
||||
additionalProperties:
|
||||
packageName: petstore_api
|
||||
mapNumberTo: float
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
nameMappings:
|
||||
_type: underscore_type
|
||||
type_: type_with_underscore
|
||||
|
@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
|
||||
templateDir: modules/openapi-generator/src/main/resources/python
|
||||
additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/python-fastapi
|
||||
sourceFolder: "src"
|
||||
additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -6,3 +6,4 @@ library: asyncio
|
||||
additionalProperties:
|
||||
packageName: petstore_api
|
||||
mapNumberTo: float
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -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
|
||||
additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
|
||||
templateDir: modules/openapi-generator/src/main/resources/r
|
||||
additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -17,4 +17,4 @@ additionalProperties:
|
||||
returnExceptionOnFailure: true
|
||||
errorObjectType: "ModelApiResponse"
|
||||
operationIdNaming: snake_case
|
||||
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -6,3 +6,4 @@ generateAliasAsModel: true
|
||||
additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
packageName: openapi-v3
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
packageName: petstore-with-fake-endpoints-models-for-testing
|
||||
publishRustRegistry: crates-io
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -10,4 +10,5 @@ additionalProperties:
|
||||
modelPackage: "sample.cask.model"
|
||||
apiPackage: "sample.cask.api"
|
||||
gitRepoId: "sample-cask-repo"
|
||||
gitUserId: "sample-cask-user"
|
||||
gitUserId: "sample-cask-user"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -11,3 +11,4 @@ additionalProperties:
|
||||
artifactId: spring-boot-beanvalidation-no-nullable
|
||||
hideGenerationTimestamp: "true"
|
||||
openApiNullable: "false"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -10,3 +10,4 @@ additionalProperties:
|
||||
useBeanValidation: true
|
||||
artifactId: spring-boot-beanvalidation
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -11,3 +11,4 @@ additionalProperties:
|
||||
useSpringBuiltInValidation: true
|
||||
artifactId: spring-boot-builtin-validation
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
interfaceOnly: true
|
||||
skipDefaultInterface: true
|
||||
unhandledException: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
artifactId: springboot-delegate-j8
|
||||
hideGenerationTimestamp: "true"
|
||||
delegatePattern: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
java8: true
|
||||
delegatePattern: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
java8: true
|
||||
delegatePattern: "true"
|
||||
generateConstructorWithAllArgs: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
artifactId: springboot-implicitHeaders
|
||||
hideGenerationTimestamp: "true"
|
||||
implicitHeaders: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -7,3 +7,4 @@ additionalProperties:
|
||||
documentationProvider: springfox
|
||||
hideGenerationTimestamp: "true"
|
||||
implicitHeadersRegex: .*
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
snapshotVersion: "true"
|
||||
hideGenerationTimestamp: "true"
|
||||
generateBuilders: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -10,3 +10,4 @@ additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
delegatePattern: "true"
|
||||
useResponseEntity: "false"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
reactive: "true"
|
||||
hideGenerationTimestamp: "true"
|
||||
delegatePattern: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
artifactId: spring-boot-useoptional
|
||||
hideGenerationTimestamp: "true"
|
||||
generateBuilders: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -10,3 +10,4 @@ additionalProperties:
|
||||
virtualService: true
|
||||
artifactId: springboot-virtualan
|
||||
hideGenerationTimestamp: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
camelCaseDollarSign: "true"
|
||||
modelNameSuffix: 'Dto'
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -12,3 +12,4 @@ additionalProperties:
|
||||
hideGenerationTimestamp: "true"
|
||||
generatedConstructorWithRequiredArgs: "false"
|
||||
useTags: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -17,3 +17,4 @@ additionalProperties:
|
||||
useBeanValidation: "true"
|
||||
performBeanValidation: "true"
|
||||
useResponseEntity: "false"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -16,4 +16,4 @@ additionalProperties:
|
||||
useBeanValidation: "true"
|
||||
performBeanValidation: "true"
|
||||
useResponseEntity: "false"
|
||||
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -15,4 +15,4 @@ additionalProperties:
|
||||
# validation should be ignored
|
||||
useBeanValidation: "true"
|
||||
performBeanValidation: "true"
|
||||
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -16,3 +16,4 @@ additionalProperties:
|
||||
# validation should be ignored
|
||||
useBeanValidation: "true"
|
||||
performBeanValidation: "true"
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
documentationProvider: springfox
|
||||
artifactId: springboot-spring-pageable-delegatePattern-without-j8
|
||||
hideGenerationTimestamp: 'true'
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -9,3 +9,4 @@ additionalProperties:
|
||||
artifactId: springboot-spring-pageable-delegatePattern
|
||||
hideGenerationTimestamp: 'true'
|
||||
implicitHeadersRegex: ^Version.*
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
documentationProvider: springfox
|
||||
artifactId: springboot-spring-pageable-withoutj8
|
||||
hideGenerationTimestamp: 'true'
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -8,3 +8,4 @@ additionalProperties:
|
||||
artifactId: springboot-spring-pageable
|
||||
hideGenerationTimestamp: 'true'
|
||||
implicitHeadersRegex: ^Version.*
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -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
|
||||
additionalProperties:
|
||||
validationAttributes: true
|
||||
disallowAdditionalPropertiesIfNotPresent: true
|
||||
|
@ -19,7 +19,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|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|
|
||||
|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|
|
||||
|
@ -19,7 +19,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|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|
|
||||
|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|
|
||||
|
@ -25,7 +25,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
||||
|apiPackage|package for generated api classes| |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|
|
||||
|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|
|
||||
|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|
|
||||
|
@ -19,7 +19,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
||||
| Option | Description | Values | Default |
|
||||
| ------ | ----------- | ------ | ------- |
|
||||
|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|
|
||||
|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|
|
||||
|
@ -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|
|
||||
|buildMethod|The build method for this package.| |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|
|
||||
|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|
|
||||
|
@ -23,7 +23,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
||||
|appName|short name of the application| |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|
|
||||
|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|
|
||||
|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|
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user