@@ -208,7 +208,7 @@ type APIGatewayRequestIdentity struct {
208208 SourceIP string `json:"sourceIp"`
209209 CognitoAuthenticationType string `json:"cognitoAuthenticationType,omitempty"`
210210 CognitoAuthenticationProvider string `json:"cognitoAuthenticationProvider,omitempty"`
211- UserArn string `json:"userArn,omitempty"` //nolint: stylecheck
211+ UserArn string `json:"userArn,omitempty"` //nolint: staticcheck
212212 UserAgent string `json:"userAgent"`
213213 User string `json:"user,omitempty"`
214214 ClientCert * APIGatewayCustomAuthorizerRequestTypeRequestIdentityClientCert `json:"clientCert,omitempty"`
@@ -317,7 +317,7 @@ type APIGatewayV2CustomAuthorizerV1RequestTypeRequestContext struct {
317317type APIGatewayV2CustomAuthorizerV1Request struct {
318318 Version string `json:"version"`
319319 Type string `json:"type"`
320- MethodArn string `json:"methodArn"` //nolint: stylecheck
320+ MethodArn string `json:"methodArn"` //nolint: staticcheck
321321 IdentitySource string `json:"identitySource"`
322322 AuthorizationToken string `json:"authorizationToken"`
323323 Resource string `json:"resource"`
@@ -333,7 +333,7 @@ type APIGatewayV2CustomAuthorizerV1Request struct {
333333type APIGatewayV2CustomAuthorizerV2Request struct {
334334 Version string `json:"version"`
335335 Type string `json:"type"`
336- RouteArn string `json:"routeArn"` //nolint: stylecheck
336+ RouteArn string `json:"routeArn"` //nolint: staticcheck
337337 IdentitySource []string `json:"identitySource"`
338338 RouteKey string `json:"routeKey"`
339339 RawPath string `json:"rawPath"`
@@ -372,13 +372,13 @@ type APIGatewayCustomAuthorizerRequestTypeRequestContext struct {
372372type APIGatewayCustomAuthorizerRequest struct {
373373 Type string `json:"type"`
374374 AuthorizationToken string `json:"authorizationToken"`
375- MethodArn string `json:"methodArn"` //nolint: stylecheck
375+ MethodArn string `json:"methodArn"` //nolint: staticcheck
376376}
377377
378378// APIGatewayCustomAuthorizerRequestTypeRequest contains data coming in to a custom API Gateway authorizer function.
379379type APIGatewayCustomAuthorizerRequestTypeRequest struct {
380380 Type string `json:"type"`
381- MethodArn string `json:"methodArn"` //nolint: stylecheck
381+ MethodArn string `json:"methodArn"` //nolint: staticcheck
382382 Resource string `json:"resource"`
383383 Path string `json:"path"`
384384 HTTPMethod string `json:"httpMethod"`
0 commit comments