Skip to content

Commit 138c608

Browse files
committed
comply to soundness checks
1 parent ed33f3b commit 138c608

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ If you discover a potential security issue in this project we ask that you notif
5656

5757
## Licensing
5858

59-
See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
59+
See the [LICENSE](LICENSE.txt) file for our project's licensing. We will ask you to confirm the licensing of your contribution.
File renamed without changes.

LICENSE renamed to LICENSE.txt

File renamed without changes.

Sources/HttpApi/OpenAPILambdaHttpApi.swift

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@ import AWSLambdaEvents
44
import OpenAPIRuntime
55
import HTTPTypes
66

7+
/// The errors that can be generated
78
public enum LambdaOpenAPIHttpError: Error {
89
case invalidMethod(String)
910
}
1011

11-
public protocol OpenAPILambdaHttpApi: OpenAPILambda where Event == APIGatewayV2Request,
12-
Output == APIGatewayV2Response {}
12+
/// An specialization of the `OpenAPILambda` protocol that works with Amazon API Gateway HTTP Mode, aka API Gateway v2
13+
public protocol OpenAPILambdaHttpApi: OpenAPILambda
14+
where
15+
Event == APIGatewayV2Request,
16+
Output == APIGatewayV2Response
17+
{}
1318

1419

1520
extension OpenAPILambdaHttpApi {

0 commit comments

Comments
 (0)