diff --git a/openapi-codegen/core/src/main/scala/sttp/tapir/codegen/EndpointGenerator.scala b/openapi-codegen/core/src/main/scala/sttp/tapir/codegen/EndpointGenerator.scala index 6b83250961..5f88c23bc0 100644 --- a/openapi-codegen/core/src/main/scala/sttp/tapir/codegen/EndpointGenerator.scala +++ b/openapi-codegen/core/src/main/scala/sttp/tapir/codegen/EndpointGenerator.scala @@ -396,7 +396,7 @@ class EndpointGenerator { val (t, _) = mapSchemaSimpleTypeToType(st) s"Map[String, $t]" case x => bail(s"Can't create this param as output (found $x)") - } + } s"streamBody($capability)(Schema.binary[$outT], CodecFormat.OctetStream())" }