Skip to content

Commit cc09223

Browse files
committed
remove ActorMaterializer
1 parent a2404de commit cc09223

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

src/test/scala/com/github/swagger/pekko/samples/DictHttpService.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.github.swagger.pekko.samples
22

33
import org.apache.pekko.http.scaladsl.server.Directives
4-
import org.apache.pekko.stream.ActorMaterializer
54
import org.apache.pekko.actor.ActorSystem
65
import org.apache.pekko.http.scaladsl.marshalling.ToResponseMarshallable.apply
76
import org.apache.pekko.http.scaladsl.server.Directive.addByNameNullaryApply
@@ -19,7 +18,6 @@ trait DictHttpService
1918
extends Directives
2019
with ModelFormats {
2120
implicit val actorSystem: ActorSystem = ActorSystem("mysystem")
22-
implicit val materializer: ActorMaterializer = ActorMaterializer()
2321

2422
val me = DictEntry("", "", None)
2523

src/test/scala/com/github/swagger/pekko/samples/PetHttpService.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
package com.github.swagger.pekko.samples
1717

1818
import org.apache.pekko.http.scaladsl.server.Directives
19-
import org.apache.pekko.stream.ActorMaterializer
2019
import org.apache.pekko.actor.ActorSystem
2120
import io.swagger.v3.oas.annotations.enums.ParameterIn
2221
import io.swagger.v3.oas.annotations.{Operation, Parameter}
@@ -32,7 +31,6 @@ trait PetHttpService
3231
with ModelFormats {
3332

3433
implicit val actorSystem: ActorSystem = ActorSystem("mysystem")
35-
implicit val materializer: ActorMaterializer = ActorMaterializer()
3634

3735
@Operation(summary = "Find a pet by ID",
3836
description = "Returns a pet based on ID",

src/test/scala/com/github/swagger/pekko/samples/UserHttpService.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ package com.github.swagger.pekko.samples
1717

1818
import org.apache.pekko.actor.ActorSystem
1919
import org.apache.pekko.http.scaladsl.server.Directives
20-
import org.apache.pekko.stream.ActorMaterializer
2120
import jakarta.ws.rs.Path
2221

2322
//@Api(value = "/user", description = "Operations about users.", produces = "application/json")
@@ -27,7 +26,6 @@ trait UserHttpService
2726
extends Directives
2827
with ModelFormats {
2928
implicit val actorSystem: ActorSystem = ActorSystem("mysystem")
30-
implicit val materializer: ActorMaterializer = ActorMaterializer()
3129

3230
// @ApiOperation(value = "Updated user", notes = "This can only be done by the logged in user.", nickname = "updateUser", httpMethod = "PUT")
3331
// @ApiImplicitParams(Array(

0 commit comments

Comments
 (0)