Skip to content

Commit

Permalink
Add parameters and body implicit codecs
Browse files Browse the repository at this point in the history
  • Loading branch information
calippo committed Dec 20, 2019
1 parent 64d43b1 commit aab3400
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tapiro/core/src/main/scala/io/buildo/tapiro/Meta.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ object Meta {
routes.flatMap {
case TapiroRoute(route, errorValues) =>
errorValues.map(m => MetarpheusType.Name(m.name)) ++
route.params.map(_.tpe) ++
route.body.map(_.tpe) :+
route.returns
}.distinct.map(toImplicitParam)
Expand Down

0 comments on commit aab3400

Please sign in to comment.