Created
May 18, 2020 08:05
-
-
Save adamw/75535de3819bb3ad1477e0abd9944afc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// the endpoints are now interpreted as an akka.http.scaladsl.Route | |
import akka.http.scaladsl.server.Route | |
import sttp.tapir.server.akkahttp._ | |
val routes: Route = List(getPetWithLogic, addPetWithLogic).toRoute | |
// expose routes using akka-http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment