Skip to content

Commit

Permalink
noEncoding
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiuszkierat committed Dec 27, 2024
1 parent e09bc28 commit 32e7d35
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import java.io.{InputStream, OutputStream}

/** Used by [[AwsCdkAppTemplate]] for integration tests
*/
object CdkTestLambdaHandler extends LambdaHandler[IO, AwsRequestV1](AwsCatsEffectServerOptions.default[IO]) {
object CdkTestLambdaHandler extends LambdaHandler[IO, AwsRequestV1](AwsCatsEffectServerOptions.noEncoding[IO]) {
override protected def getAllEndpoints: List[ServerEndpoint[Any, IO]] = allEndpoints.toList

override def handleRequest(input: InputStream, output: OutputStream, context: Context): Unit = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import sttp.tapir.serverless.aws.lambda._

import java.io.{InputStream, OutputStream}

object LambdaApiExample extends LambdaHandler[IO, AwsRequest](AwsCatsEffectServerOptions.default[IO]) {
object LambdaApiExample extends LambdaHandler[IO, AwsRequest](AwsCatsEffectServerOptions.noEncoding[IO]) {

val helloEndpoint: ServerEndpoint[Any, IO] = endpoint.get
.in("api" / "hello")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import sttp.tapir.serverless.aws.lambda._

import java.io.{InputStream, OutputStream}

object LambdaApiV1Example extends LambdaHandler[IO, AwsRequestV1](AwsCatsEffectServerOptions.default[IO]) {
object LambdaApiV1Example extends LambdaHandler[IO, AwsRequestV1](AwsCatsEffectServerOptions.noEncoding[IO]) {

val helloEndpoint: ServerEndpoint[Any, IO] = endpoint.get
.in("api" / "hello")
Expand Down

0 comments on commit 32e7d35

Please sign in to comment.