Skip to content

Commit acd46d4

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

112 files changed

Lines changed: 98 additions & 26 deletions

File tree

Some content is hidden

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

bin/configs/c-bearer-auth.yaml

Lines changed: 2 additions & 0 deletions
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/cpp-restbed-server.yaml

Lines changed: 2 additions & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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/csharp-generichost-latest-helloWorld.yaml

Lines changed: 1 addition & 0 deletions
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-oneOfList.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ additionalProperties:
66
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
77
modelPropertySorting: alphabetical
88
operationParameterSorting: alphabetical
9+
disallowAdditionalPropertiesIfNotPresent: true

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

Lines changed: 1 addition & 0 deletions
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-useDateTimeForDate.yaml

Lines changed: 1 addition & 0 deletions
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-useDateTimeForDate.yaml

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

0 commit comments

Comments
 (0)