Skip to content

Commit ec6fee3

Browse files
committed
Rearrange struct definition order to match AWS Go project conventions update
1 parent 19fe79d commit ec6fee3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

events/apigw.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ type APIGatewayRequestIdentity struct {
150150
type APIGatewayWebsocketProxyRequest struct {
151151
Resource string `json:"resource"` // The resource path defined in API Gateway
152152
Path string `json:"path"` // The url path for the caller
153-
HTTPMethod string `json:"httpMethod"`
153+
HTTPMethod string `json:"httpMethod,omitempty"`
154154
Headers map[string]string `json:"headers"`
155155
MultiValueHeaders map[string][]string `json:"multiValueHeaders"`
156156
QueryStringParameters map[string]string `json:"queryStringParameters"`
@@ -197,7 +197,7 @@ type APIGatewayCustomAuthorizerRequestTypeRequestIdentity struct {
197197
ClientCert APIGatewayCustomAuthorizerRequestTypeRequestIdentityClientCert `json:"clientCert"`
198198
}
199199

200-
// APIGatewayCustomAuthorizerRequestTypeRequestIdentityClientCert contains certificate information for the request caller if using mTLS..
200+
// APIGatewayCustomAuthorizerRequestTypeRequestIdentityClientCert contains certificate information for the request caller if using mTLS.
201201
type APIGatewayCustomAuthorizerRequestTypeRequestIdentityClientCert struct {
202202
ClientCertPem string `json:"clientCertPem"`
203203
IssuerDN string `json:"issuerDN"`

0 commit comments

Comments
 (0)