diff --git a/tapiro/core/src/main/scala/io/buildo/tapiro/Meta.scala b/tapiro/core/src/main/scala/io/buildo/tapiro/Meta.scala index 69423ca7..904e0f2d 100644 --- a/tapiro/core/src/main/scala/io/buildo/tapiro/Meta.scala +++ b/tapiro/core/src/main/scala/io/buildo/tapiro/Meta.scala @@ -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)