Skip to content

Commit b38c2fb

Browse files
committed
set disallowAdditionalPropertiesIfNotPresent on samples to avoid converting them all at once
1 parent d1f95bb commit b38c2fb

File tree

574 files changed

+673
-53
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

574 files changed

+673
-53
lines changed

bin/configs/ada.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ parameterNameMappings:
1313
additionalProperties:
1414
modelPackage: Samples.Petstore
1515
projectName: Petstore
16+
disallowAdditionalPropertiesIfNotPresent: true
1617
enumNameMappings:
1718
sold: UNAVAILABLE

bin/configs/apex.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ generatorName: apex
44
outputDir: samples/client/petstore/apex
55
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
66
templateDir: modules/openapi-generator/src/main/resources/apex
7+
additionalProperties:
8+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnet-fastendpoints-useApiVersioning.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ additionalProperties:
1313
routePrefix: "api"
1414
versionPrefix: "v"
1515
solutionGuid: "{1EC59EB0-DA5B-40C0-8E49-A3E0829DBBFC}"
16-
projectConfigurationGuid: "{9685C490-9B77-4EE2-BE4D-811F52665E8F}"
16+
projectConfigurationGuid: "{9685C490-9B77-4EE2-BE4D-811F52665E8F}"
17+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnet-fastendpoints-useAuthentication.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ additionalProperties:
1313
routePrefix: "api"
1414
versionPrefix: "v"
1515
solutionGuid: "{10D45F9B-F270-480C-9DA9-720AA62526A4}"
16-
projectConfigurationGuid: "{3FA19D58-AE7C-45E5-B00E-7482026D1816}"
16+
projectConfigurationGuid: "{3FA19D58-AE7C-45E5-B00E-7482026D1816}"
17+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnet-fastendpoints-useProblemDetails.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ additionalProperties:
1313
routePrefix: "api"
1414
versionPrefix: "v"
1515
solutionGuid: "{EA9B735E-72CA-44C4-BB28-358BDECE60C8}"
16-
projectConfigurationGuid: "{74D68BAC-36F5-43FC-BE9A-F3E660EECF5D}"
16+
projectConfigurationGuid: "{74D68BAC-36F5-43FC-BE9A-F3E660EECF5D}"
17+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnet-fastendpoints-useRecords.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ additionalProperties:
1313
routePrefix: "api"
1414
versionPrefix: "v"
1515
solutionGuid: "{C5D2BEB0-AB74-433F-BC14-DA66CAC82C10}"
16-
projectConfigurationGuid: "{D465FD3B-3146-4661-BB50-522608AA3967}"
16+
projectConfigurationGuid: "{D465FD3B-3146-4661-BB50-522608AA3967}"
17+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnet-fastendpoints-useResponseCaching.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ additionalProperties:
1313
routePrefix: "api"
1414
versionPrefix: "v"
1515
solutionGuid: "{BC56C2A3-ACC5-4ED0-AD8F-CD1831B8A467}"
16-
projectConfigurationGuid: "{5D19ACAB-8830-47FD-BAFA-C0985DF9F5F3}"
16+
projectConfigurationGuid: "{5D19ACAB-8830-47FD-BAFA-C0985DF9F5F3}"
17+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnet-fastendpoints-useValidators.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ additionalProperties:
1313
routePrefix: "api"
1414
versionPrefix: "v"
1515
solutionGuid: "{C7818EE1-09E2-4349-9696-8B1A9119974A}"
16-
projectConfigurationGuid: "{39B801D8-74AA-465D-A637-4A2FFB905378}"
16+
projectConfigurationGuid: "{39B801D8-74AA-465D-A637-4A2FFB905378}"
17+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnet-fastendpoints.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ additionalProperties:
1313
routePrefix: "api"
1414
versionPrefix: "v"
1515
solutionGuid: "{4BC03566-F5F9-4E45-A835-8FA3B2B524B9}"
16-
projectConfigurationGuid: "{5F32A09C-5CB7-4917-83AB-CD7D1A04FF49}"
16+
projectConfigurationGuid: "{5F32A09C-5CB7-4917-83AB-CD7D1A04FF49}"
17+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-2.2.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/aspnetcore/2.1
55
additionalProperties:
66
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
77
aspnetCoreVersion: "2.2"
8+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-3.0.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/aspnetcore/3.0
55
additionalProperties:
66
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
77
aspnetCoreVersion: "3.0"
8+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-3.1.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
# comment out below as 3.1 the default
88
#aspnetCoreVersion: "3.1"
99
userSecretsGuid: "76e9e993-9159-441c-9c5b-fe95e7f4f020"
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-5.0.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/aspnetcore/3.0
55
additionalProperties:
66
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
77
aspnetCoreVersion: "5.0"
8+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-6.0-NewtonsoftFalse.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
aspnetCoreVersion: "6.0"
88
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
99
useNewtonsoft: false
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-6.0-nullableReferenceTypes.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ additionalProperties:
66
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
77
aspnetCoreVersion: "6.0"
88
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
9-
nullableReferenceTypes: true
9+
nullableReferenceTypes: true
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-6.0-pocoModels.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
aspnetCoreVersion: "6.0"
88
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
99
pocoModels: true
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-6.0-project4Models.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
aspnetCoreVersion: "6.0"
88
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
99
useSeparateModelProject: true
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-6.0-useSwashBuckle.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ additionalProperties:
99
useSwashBuckle: false
1010
buildTarget: library
1111
isLibrary: true
12+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-6.0.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ additionalProperties:
66
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
77
aspnetCoreVersion: "6.0"
88
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
9+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-8.0-NewtonsoftFalse.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
aspnetCoreVersion: "8.0"
88
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
99
useNewtonsoft: false
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-8.0-nullableReferenceTypes.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ additionalProperties:
66
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
77
aspnetCoreVersion: "8.0"
88
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
9-
nullableReferenceTypes: true
9+
nullableReferenceTypes: true
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-8.0-pocoModels.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
aspnetCoreVersion: "8.0"
88
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
99
pocoModels: true
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-8.0-project4Models.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
aspnetCoreVersion: "8.0"
88
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
99
useSeparateModelProject: true
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-8.0-use-centralized-package-version-management.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
aspnetCoreVersion: "8.0"
88
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
99
centralizedPackageVersionManagement: "enable"
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-8.0-useSwashBuckle.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ additionalProperties:
99
useSwashBuckle: false
1010
buildTarget: library
1111
isLibrary: true
12+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/aspnetcore-8.0.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ additionalProperties:
66
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
77
aspnetCoreVersion: "8.0"
88
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
9+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/avro-schema-enums.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ generatorName: avro-schema
22
outputDir: samples/openapi3/schema/valid-enums/avro-schema-enum
33
inputSpec: modules/openapi-generator/src/test/resources/3_0/avro-schema/valid-enums.yaml
44
templateDir: modules/openapi-generator/src/main/resources/avro-schema
5+
additionalProperties:
6+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/avro-schema.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/avro-schema
55
additionalProperties:
66
useLogicalTypes: true
77
logicalTypeTimeQuantifier: nanos
8+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/bash.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ additionalProperties:
1212
scriptName: petstore-cli
1313
generateBashCompletion: true
1414
hideGenerationTimestamp: "true"
15+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/c-bearer-auth.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ generatorName: c
22
outputDir: samples/client/others/c/bearerAuth
33
inputSpec: modules/openapi-generator/src/test/resources/3_0/c/bearer_auth.yaml
44
templateDir: modules/openapi-generator/src/main/resources/C-libcurl
5+
additionalProperties:
6+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/c-useJsonUnformatted.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
modelNameMappings:
88
another_model: MappedModel
99
another_property: mappedProperty
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/c.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ templateDir: modules/openapi-generator/src/main/resources/C-libcurl
55
modelNameMappings:
66
another_model: MappedModel
77
another_property: mappedProperty
8+
additionalProperties:
9+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/cpp-pistache-server-cpp-pistache-everything.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/cpp-pistache-server
55
additionalProperties:
66
useStructModel: "false"
77
addExternalLibs: "true"
8+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/cpp-pistache-server-cpp-pistache-nested-schema-refs.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/cpp-pistache-server
55
additionalProperties:
66
useStructModel: "false"
77
addExternalLibs: "true"
8+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/cpp-pistache-server-cpp-pistache.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/cpp-pistache-server
55
additionalProperties:
66
useStructModel: "false"
77
addExternalLibs: "true"
8+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/cpp-qt-client-addDownloadProgress.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
cppNamespace: test_namespace
88
modelNamePrefix: PFX
99
addDownloadProgress: true
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/cpp-qt-client.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ additionalProperties:
66
packageName: CppQtPetstoreClient
77
cppNamespace: test_namespace
88
modelNamePrefix: PFX
9+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/cpp-qt-qhttpengine-server.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ generatorName: cpp-qt-qhttpengine-server
22
outputDir: samples/server/petstore/cpp-qt-qhttpengine-server
33
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
44
templateDir: modules/openapi-generator/src/main/resources/cpp-qt-qhttpengine-server
5+
additionalProperties:
6+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/cpp-restbed-server.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ generatorName: cpp-restbed-server
22
outputDir: samples/server/petstore/cpp-restbed/generated/3_0
33
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
44
templateDir: modules/openapi-generator/src/main/resources/cpp-restbed-server
5+
additionalProperties:
6+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/cpp-restsdk-client.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/cpp-restsdk/petstore
44
templateDir: modules/openapi-generator/src/main/resources/cpp-rest-sdk-client
55
additionalProperties:
66
packageName: CppRestPetstoreClient
7+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/cpp-tiny.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/cpp-tiny
55
additionalProperties:
66
hideGenerationTimestamp: "true"
77
controller: "esp32"
8+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/cpp-ue4.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ generatorName: cpp-ue4
22
outputDir: samples/client/petstore/cpp-ue4
33
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
44
templateDir: modules/openapi-generator/src/main/resources/cpp-ue4
5+
additionalProperties:
6+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/crystal.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ nameMappings:
1616
parameterNameMappings:
1717
_type: underscore_type
1818
type_: type_with_underscore
19+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-functions-latest.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/csharp-functions
55
additionalProperties:
66
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
77
userSecretsGuid: "76e9e993-9159-441c-9c5b-fe95e7f4f020"
8+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-generichost-latest-helloWorld.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
88
modelPropertySorting: alphabetical
99
operationParameterSorting: alphabetical
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-generichost-latest-tags.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
88
modelPropertySorting: alphabetical
99
operationParameterSorting: alphabetical
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-generichost-net4.7-useDateTimeForDate.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ additionalProperties:
99
targetFramework: net47
1010
modelPropertySorting: alphabetical
1111
operationParameterSorting: alphabetical
12+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-generichost-net8-nrt-useSourceGeneration.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ additionalProperties:
1111
equatable: true
1212
targetFramework: net8.0
1313
modelPropertySorting: alphabetical
14-
operationParameterSorting: alphabetical
14+
operationParameterSorting: alphabetical

bin/configs/csharp-generichost-net8-useDateTimeForDate.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ additionalProperties:
99
targetFramework: net8.0
1010
modelPropertySorting: alphabetical
1111
operationParameterSorting: alphabetical
12+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-generichost-net9-nrt-useSourceGeneration.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ additionalProperties:
1212
targetFramework: net9.0
1313
modelPropertySorting: alphabetical
1414
operationParameterSorting: alphabetical
15+

bin/configs/csharp-generichost-net9-nrt.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ additionalProperties:
1212
targetFramework: net9.0
1313
modelPropertySorting: alphabetical
1414
operationParameterSorting: alphabetical
15+

bin/configs/csharp-generichost-net9-useDateTimeForDate.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ additionalProperties:
99
targetFramework: net9.0
1010
modelPropertySorting: alphabetical
1111
operationParameterSorting: alphabetical
12+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-restsharp-net4.7-multipleFrameworks.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ additionalProperties:
88
targetFramework: netstandard2.1;net47
99
useCompareNetObjects: "true"
1010
equatable: true
11+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-restsharp-net8-compareNetObjects.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ additionalProperties:
88
targetFramework: net8.0
99
useCompareNetObjects: "true"
1010
equatable: true
11+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-restsharp-net8-echo-api.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ additionalProperties:
99
setCompareNetObjects: "true"
1010
hideGenerationTimestamp: "true"
1111
equatable: true
12+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-restsharp-net8-name-mappings.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ additionalProperties:
1818
hideGenerationTimestamp: "true"
1919
targetFramework: net8.0
2020
equatable: true
21+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-restsharp-net8-useDateTimeForDate.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ additionalProperties:
88
packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}'
99
targetFramework: net8.0
1010
useDateTimeForDate: true
11+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-restsharp-netstandard2.0-complexfiles.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ additionalProperties:
1010
equatable: true
1111
globalProperties:
1212
skipFormModel: "false"
13+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-restsharp-useVirtualForHooks.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ additionalProperties:
88
packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}'
99
targetFramework: net8.0
1010
useVirtualForHooks: true
11+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/csharp-unityWebRequest-netstandard2.0.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ library: unityWebRequest
77
additionalProperties:
88
targetFramework: netstandard2.0
99
equatable: true
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/dart-dio-oneof-polymorphism-and-inheritance.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ typeMappings:
99
additionalProperties:
1010
hideGenerationTimestamp: "true"
1111
enumUnknownDefaultCase: "true"
12+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/dart-dio-oneof-primitive.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ typeMappings:
99
additionalProperties:
1010
hideGenerationTimestamp: "true"
1111
enumUnknownDefaultCase: "true"
12+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/dart-dio-oneof.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ typeMappings:
99
additionalProperties:
1010
hideGenerationTimestamp: "true"
1111
enumUnknownDefaultCase: "true"
12+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/dart-dio-petstore-client-lib-fake-json_serializable.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ additionalProperties:
1010
hideGenerationTimestamp: "true"
1111
enumUnknownDefaultCase: "true"
1212
serializationLibrary: "json_serializable"
13+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/dart-dio-petstore-client-lib-fake.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ typeMappings:
99
additionalProperties:
1010
hideGenerationTimestamp: "true"
1111
enumUnknownDefaultCase: "true"
12+
disallowAdditionalPropertiesIfNotPresent: true
1213
reservedWordsMappings:
1314
class: "classField"

bin/configs/dart-petstore-client-lib-fake.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ typeMappings:
77
File: "ModelFile"
88
additionalProperties:
99
hideGenerationTimestamp: "true"
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/dart-petstore-client-lib.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ additionalProperties:
66
hideGenerationTimestamp: "true"
77
enumNameMappings:
88
delivered: shipped
9+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/elixir.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ nameMappings:
1111
deprecatedRef: deprecatedReference
1212
parameterNameMapping:
1313
ioutils: ioutils_parameter
14+
disallowAdditionalPropertiesIfNotPresent: true

0 commit comments

Comments
 (0)