Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BinaryF is incorrectly represented as List[Boolean] #338

Open
elyast opened this issue Sep 28, 2020 · 0 comments
Open

BinaryF is incorrectly represented as List[Boolean] #338

elyast opened this issue Sep 28, 2020 · 0 comments

Comments

@elyast
Copy link

elyast commented Sep 28, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant