skeuomorph icon indicating copy to clipboard operation
skeuomorph copied to clipboard

BinaryF is incorrectly represented as List[Boolean]

Open elyast opened this issue 4 years ago • 0 comments

According to https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#encoding-object
" for string with format being binaryapplication/octet-stream " which would indicate the client method should allow to send stream of bytes (e.g. File as in other generators or Stream[Byte]), currently its being mapped to List[Boolean] which imho doesn't make sense.

Relevant code is here: https://github.com/higherkindness/skeuomorph/blob/master/src/main/scala/higherkindness/skeuomorph/openapi/print.scala#L57

elyast avatar Sep 28 '20 20:09 elyast