You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html)Transport for [Swift OpenAPI generator](https://github.com/apple/swift-openapi-generator)
3
+
This library provides an [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/welcome.html)transport for [Swift OpenAPI generator](https://github.com/apple/swift-openapi-generator)
4
4
5
-
This library allows to expose server side Swift OpenAPI implementation generated by the Swift OpenAPI generator as an AWS Lambda function and an AWS API Gateway.
5
+
This library allows to expose server side Swift OpenAPI implementation generated by the Swift OpenAPI generator as an AWS Lambda function.
6
+
7
+
The library provides two capabilities:
8
+
9
+
- a default implementation of an AWS Lambda function in that consumes your OpenAPI service implementation
10
+
- a binding with the [Amazon API Gateway (HTTP API mode)](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html) (aka `APIGatewayV2`) event type.
11
+
12
+
Other Lambda function bindings (event types) are supported as well, depending on your needs. [We include instructions](#implement-your-own-openapilambda-to-support-other-event-types) to create a binding with an [Amazon API Gateway (REST API mode)](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-rest-api.html)
6
13
7
14
## Prerequisites
8
15
@@ -15,12 +22,16 @@ To write and deploy AWS Lambda functions based on an OpenAPI API definition, you
15
22
16
23
## TL;DR
17
24
18
-
Assuming you already have an OpenAPI definition and you already generated the server stubs. Here are the additional steps to expose your service implementation as a AWS Lambda function.
25
+
If you already have an OpenAPI definition, you already generated the server stubs, and wrote an implementation, here are the additional steps to expose your OpenAPI service implementation as a AWS Lambda function and an Amazon API Gateway HTTP API (aka `APIGatewayV2`).
26
+
27
+
If you don't know how to start, read the next section, there is [a tutorial with step-by-step instructions](#tutorial-a-quick-start-with-a-stock-quote-api-service-example).
19
28
20
-
If you don't know how to do that, read on, there is [a tutorial with step-by-step instructions](#tutorial-a-quick-start-with-a-stock-quote-api-service-example).
29
+
To expose your OpenAPI implementation as an AWS Lambda function:
0 commit comments