swagger-codegen-generators icon indicating copy to clipboard operation
swagger-codegen-generators copied to clipboard

Fix file and binary response handling.

Open kelemenb-ewit opened this issue 2 years ago • 0 comments

According to OpenApi v3 documentation binary file uploads have response type string. https://swagger.io/docs/specification/describing-responses/

This is why we need to check for file and binary types before checking for string type.

kelemenb-ewit avatar Apr 25 '23 10:04 kelemenb-ewit