我正在尝试使用akka-http测试TypedActor,但在尝试创建测试用例时遇到问题。为了测试TypedActor,我会编写以下规范...但是,当我必须编写与HTTP /+ WS路由一起使用的TypedActor时,我无法编写...
class MyHTTPServiceTestSpec extends ScalaTestWithActorTestKit with FlatSpecLike with Match
我有个问题。我想使用Swagger在API的响应中发送一个对象列表。type =“数组”对我不起作用。我看到了一个主题Set List of Objects in Swagger API response,但它是lib的旧版本。注释已更改。ApiResponse曾经有responseContainer参数,但现在没有了。我有akka-http服务器。 val akkaVersion = "2.5.17" "javax.ws.rs