Skip to content

Commit c168a86

Browse files
committed
Fix typo
1 parent 06fb440 commit c168a86

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ This is why holy-lambda-ring-adapter was released. An adapter is a part of holy-
2525
## Compatibility
2626
- AWS ApiGateway Lambda Integration
2727
- [HttpApi](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop.html#http-api-examples)
28-
- Java Version >= 11
28+
- [RestApi](https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-rest-api.html)
29+
- Java Version >= 11 or Babashka >= 0.8.2
2930
- GraalVM Native Image >= 21.2.0
3031
- Holy Lambda >= 0.6.0 [all backends: [native](https://fierycod.github.io/holy-lambda/#/native-backend-tutorial), [babashka](https://fierycod.github.io/holy-lambda/#/babashka-backend-tutorial), [clojure](https://fierycod.github.io/holy-lambda/#/clojure-backend-tutorial)
3132

src/fierycod/holy_lambda_ring_adapter/core.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
headers (get event :headers)
3737
base64? (get event :isBase64Encoded)]
3838
(when-not request-ctx
39-
(throw (ex-info "Incorrect shape of AWS event. The adapter is compatible with HttpApi and AWS ApiGateway. If you're testing locally make sure the event shape is valid e.g. use `sam local start-api` instead of `sam local invoke`." {:ctx :hl-ring-adapter})))
39+
(throw (ex-info "Incorrect shape of AWS event. The adapter is compatible with following integrations: HttpApi and RestApi on AWS Api Gateway service. If you're testing locally make sure the event shape is valid e.g. use `sam local start-api` instead of `sam local invoke`." {:ctx :hl-ring-adapter})))
4040

4141
{:server-port (some-> (get headers "x-forwarded-port") (Integer/parseInt))
4242
:body (impl/to-ring-request-body (:body event) base64?)

0 commit comments

Comments
 (0)