Skip to content

Commit

Permalink
Merge pull request #84 from buildo/73-fix_tapiro_jsoncodec_for
Browse files Browse the repository at this point in the history
#73: Fix tapiro JsonCodec for post body (closes #73)
  • Loading branch information
calippo authored Dec 20, 2019
2 parents 64d43b1 + aab3400 commit c9d36dd
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 c9d36dd

Please sign in to comment.