swagger-codegen-generators
swagger-codegen-generators copied to clipboard
Fix file and binary response handling.
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.