skeuomorph
skeuomorph copied to clipboard
BinaryF is incorrectly represented as List[Boolean]
According to https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#encoding-object
" for string
with format being binary
– application/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