mirror of
https://github.com/swift-server/swift-openapi-lambda.git
synced 2026-06-02 07:27:32 +00:00
- Update this library to support the upcoming release of AWS Lambda Runtime for Swift v2. This change affects the public API (some `Sendable` added) and requires a major version bump. I propose to release v2 to align this library's major with the Swift AWS Lambda Runtime's major. - Add a QuoteAPI example in the `Examples` directory
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"rawQueryString": "",
|
|
"headers": {
|
|
"host": "b2k1t8fon7.execute-api.us-east-1.amazonaws.com",
|
|
"x-forwarded-port": "443",
|
|
"content-length": "0",
|
|
"x-amzn-trace-id": "Root=1-6571d134-63dbe8ee21efa87555d59265",
|
|
"x-forwarded-for": "191.95.148.219",
|
|
"x-forwarded-proto": "https",
|
|
"accept": "*/*",
|
|
"user-agent": "curl/8.1.2",
|
|
"authorization": "Bearer 123"
|
|
},
|
|
"requestContext": {
|
|
"apiId": "b2k1t8fon7",
|
|
"http": {
|
|
"sourceIp": "191.95.148.219",
|
|
"userAgent": "curl/8.1.2",
|
|
"method": "GET",
|
|
"path": "/stocks/AAPL",
|
|
"protocol": "HTTP/1.1"
|
|
},
|
|
"authorizer": {
|
|
"lambda": {
|
|
"abc1": "xyz1"
|
|
}
|
|
},
|
|
"timeEpoch": 1701957940365,
|
|
"domainPrefix": "b2k1t8fon7",
|
|
"accountId": "486652066693",
|
|
"time": "07/Dec/2023:14:05:40 +0000",
|
|
"stage": "$default",
|
|
"domainName": "b2k1t8fon7.execute-api.us-east-1.amazonaws.com",
|
|
"requestId": "Pk2gOia2IAMEPOw="
|
|
},
|
|
"isBase64Encoded": false,
|
|
"version": "2.0",
|
|
"routeKey": "$default",
|
|
"rawPath": "/stocks/AAPL"
|
|
} |