From 0607a8704bf9008402a12f8bc0ed87c7c9a03698 Mon Sep 17 00:00:00 2001 From: Sergiusz Kierat Date: Fri, 27 Dec 2024 15:08:40 +0100 Subject: [PATCH] class without parameters --- .../sttp/tapir/serverless/aws/cdk/test/IOLambdaHandlerV1.scala | 2 +- .../tapir/serverless/aws/lambda/tests/IOLambdaHandlerV2.scala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/serverless/aws/cdk/src/test/scala/sttp/tapir/serverless/aws/cdk/test/IOLambdaHandlerV1.scala b/serverless/aws/cdk/src/test/scala/sttp/tapir/serverless/aws/cdk/test/IOLambdaHandlerV1.scala index f449bfb59a..56d90e2b94 100644 --- a/serverless/aws/cdk/src/test/scala/sttp/tapir/serverless/aws/cdk/test/IOLambdaHandlerV1.scala +++ b/serverless/aws/cdk/src/test/scala/sttp/tapir/serverless/aws/cdk/test/IOLambdaHandlerV1.scala @@ -9,7 +9,7 @@ import sttp.tapir.serverless.aws.lambda.{AwsCatsEffectServerOptions, AwsRequestV import java.io.{InputStream, OutputStream} -class IOLambdaHandlerV1(options: AwsServerOptions[IO] = AwsCatsEffectServerOptions.noEncoding[IO]) extends LambdaHandler[IO, AwsRequestV1](options) { +class IOLambdaHandlerV1 extends LambdaHandler[IO, AwsRequestV1](AwsCatsEffectServerOptions.noEncoding[IO]) { override protected def getAllEndpoints: List[ServerEndpoint[Any, IO]] = TestEndpoints.all[IO].toList diff --git a/serverless/aws/lambda-cats-effect-tests/src/main/scala/sttp/tapir/serverless/aws/lambda/tests/IOLambdaHandlerV2.scala b/serverless/aws/lambda-cats-effect-tests/src/main/scala/sttp/tapir/serverless/aws/lambda/tests/IOLambdaHandlerV2.scala index 7788e874c5..35446ca7af 100644 --- a/serverless/aws/lambda-cats-effect-tests/src/main/scala/sttp/tapir/serverless/aws/lambda/tests/IOLambdaHandlerV2.scala +++ b/serverless/aws/lambda-cats-effect-tests/src/main/scala/sttp/tapir/serverless/aws/lambda/tests/IOLambdaHandlerV2.scala @@ -8,7 +8,7 @@ import sttp.tapir.server.ServerEndpoint import sttp.tapir.serverless.aws.lambda.{AwsCatsEffectServerOptions, AwsRequest, AwsServerOptions, LambdaHandler} import java.io.{InputStream, OutputStream} -class IOLambdaHandlerV2(options: AwsServerOptions[IO] = AwsCatsEffectServerOptions.noEncoding[IO]) extends LambdaHandler[IO, AwsRequest](options) { +class IOLambdaHandlerV2 extends LambdaHandler[IO, AwsRequest](AwsCatsEffectServerOptions.noEncoding[IO]) { override protected def getAllEndpoints: List[ServerEndpoint[Any, IO]] = allEndpoints.toList