Skip to content

Commit

Permalink
class without parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiuszkierat committed Dec 27, 2024
1 parent 32e7d35 commit 0607a87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0607a87

Please sign in to comment.