Skip to content

Commit b192b2d

Browse files
committed
fix: add @JsonIgnoreProperties to HttpApiV2ProxyRequestContext to avoid UnrecognizedPropertyException for Lambda Function URLs with IAM auth (#460)
1 parent fe29825 commit b192b2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/model/HttpApiV2ProxyRequestContext.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
*/
1313
package com.amazonaws.serverless.proxy.model;
1414

15+
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
16+
17+
@JsonIgnoreProperties(ignoreUnknown = true)
1518
public class HttpApiV2ProxyRequestContext {
1619
private String accountId;
1720
private String apiId;

0 commit comments

Comments
 (0)