Class OpenApiHttpServerHandler

java.lang.Object
ru.tinkoff.kora.openapi.management.OpenApiHttpServerHandler
All Implemented Interfaces:
ru.tinkoff.kora.http.server.common.handler.HttpServerRequestHandler.HandlerFunction

public final class OpenApiHttpServerHandler extends Object implements ru.tinkoff.kora.http.server.common.handler.HttpServerRequestHandler.HandlerFunction
  • Constructor Details

    • OpenApiHttpServerHandler

      public OpenApiHttpServerHandler(List<String> openapiFiles, Function<byte[],byte[]> openApiMapper)
  • Method Details

    • apply

      public CompletionStage<ru.tinkoff.kora.http.server.common.HttpServerResponse> apply(ru.tinkoff.kora.common.Context context, ru.tinkoff.kora.http.server.common.HttpServerRequest request)
      Specified by:
      apply in interface ru.tinkoff.kora.http.server.common.handler.HttpServerRequestHandler.HandlerFunction