You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generate any open api spec with the Scala Akka HTTP client generator
Notice that the ApiInvoker.scala uses the deprecated ActorMaterializer that has been deprecated since akka-http 2.6.0.
ApiInvoker.scala:94:58
[E] method apply in object ActorMaterializer is deprecated (since 2.6.0): Use the system wide materializer with stream attributes or configuration settings to change defaults
[E] L94: private implicit val materializer: ActorMaterializer = ActorMaterializer()
ApiInvoker.scala:94:38
[E] class ActorMaterializer in package stream is deprecated (since 2.6.0): The Materializer now has all methods the ActorMaterializer used to have
[E] L94: private implicit val materializer: ActorMaterializer = ActorMaterializer()
Related issues/PRs
Suggest a fix/enhancement
We should change the invoker template to use Materializer(system)
Description
openapi-generator version
5.3.0
OpenAPI declaration file content or url
Any
Command line used for generation
Steps to reproduce
ApiInvoker.scala
uses the deprecatedActorMaterializer
that has been deprecated sinceakka-http
2.6.0.Related issues/PRs
Suggest a fix/enhancement
We should change the invoker template to use
Materializer(system)
openapi-generator/modules/openapi-generator/src/main/resources/scala-akka-client/apiInvoker.mustache
Line 84 in 5a62ae6
The text was updated successfully, but these errors were encountered: