Skip to content

Commit 4d1df7d

Browse files
authored
Allow unrecognized properties to be added to endpoints.json (#2802)
1 parent 0cc269f commit 4d1df7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

codegen-lite/src/main/java/software/amazon/awssdk/codegen/lite/regions/RegionMetadataLoader.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ public static Partitions build(File path) {
3737
private static Partitions loadPartitionFromStream(File stream, String location) {
3838

3939
try {
40-
return JSON.std.with(JSON.Feature.FAIL_ON_UNKNOWN_BEAN_PROPERTY)
41-
.with(JSON.Feature.USE_IS_GETTERS)
40+
return JSON.std.with(JSON.Feature.USE_IS_GETTERS)
4241
.beanFrom(Partitions.class, stream);
4342

4443
} catch (IOException | RuntimeException e) {

0 commit comments

Comments
 (0)