diff --git a/events/apigw.go b/events/apigw.go index b9e3a11c..ce7fa1cf 100644 --- a/events/apigw.go +++ b/events/apigw.go @@ -86,7 +86,7 @@ type APIGatewayV2HTTPRequestContextAuthorizerDescription struct { // APIGatewayV2HTTPRequestContextAuthorizerJWTDescription contains JWT authorizer information for the request context. type APIGatewayV2HTTPRequestContextAuthorizerJWTDescription struct { Claims map[string]string `json:"claims"` - Scopes []string `json:"scopes"` + Scopes []string `json:"scopes,omitempty"` } // APIGatewayV2HTTPRequestContextHTTPDescription contains HTTP information for the request context.