Skip to content

Commit 3009b0c

Browse files
committed
set disallowAdditionalPropertiesIfNotPresent in new examples after rebase
1 parent 5df4940 commit 3009b0c

8 files changed

Lines changed: 8 additions & 1 deletion

bin/configs/java-microprofile-rest-client-3.0-jackson.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ additionalProperties:
1010
microprofileRestClientVersion: "3.0"
1111
hideGenerationTimestamp: true
1212
useReflectionEqualsHashCode: true
13+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/java-native-async.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
artifactId: petstore-native
88
hideGenerationTimestamp: "true"
99
asyncNative: "true"
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/java-native-echo-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ templateDir: modules/openapi-generator/src/main/resources/Java
66
additionalProperties:
77
artifactId: echo-api-native
88
hideGenerationTimestamp: "true"
9-
9+
disallowAdditionalPropertiesIfNotPresent: true
1010
typeMappings:
1111
OffsetDateTime: "Instant"
1212
importMappings:

bin/configs/java-native.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ additionalProperties:
88
hideGenerationTimestamp: "true"
99
generateBuilders: true
1010
useReflectionEqualsHashCode: "true"
11+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/java-webclient-sealedInterface.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ additionalProperties:
88
hideGenerationTimestamp: "true"
99
useOneOfInterfaces: true
1010
useSealedOneOfInterfaces: true
11+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/rust-server-deprecated-openapi-v3.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ generateAliasAsModel: true
66
additionalProperties:
77
hideGenerationTimestamp: "true"
88
packageName: openapi-v3
9+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/rust-server-deprecated-petstore-with-fake-endpoints-models-for-testing.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ additionalProperties:
77
hideGenerationTimestamp: "true"
88
packageName: petstore-with-fake-endpoints-models-for-testing
99
publishRustRegistry: crates-io
10+
disallowAdditionalPropertiesIfNotPresent: true

bin/configs/spring-boot-oneof-sealed.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ additionalProperties:
1111
generateBuilders: true
1212
useOneOfInterfaces: true
1313
useSealed: true
14+
disallowAdditionalPropertiesIfNotPresent: true

0 commit comments

Comments
 (0)