Open goot1 opened 5 years ago
Hi,
How can I process binary Data using this typescript-fetch generation tool?
I saw in the code: https://github.com/mgechev/swagger-typescript-fetch-api/blob/ae1c883e59858f40dae4e65971aca0125ea0db99/src/main/resources/typescript-fetch-api/api.mustache#L137 at .json - But sometimes the backend is returning binary data. How to process there?
Did I miss something?
Here is my hopefully working swagger configuration: /store/product/{id}/pic: summary: Image get: parameters:
Not missing anything, the generator does not support binary data. Currently, I don't have the bandwidth to introduce support. If you have a moment, feel free to open a PR, I'd love to merge it.
Hi,
How can I process binary Data using this typescript-fetch generation tool?
I saw in the code: https://github.com/mgechev/swagger-typescript-fetch-api/blob/ae1c883e59858f40dae4e65971aca0125ea0db99/src/main/resources/typescript-fetch-api/api.mustache#L137 at .json - But sometimes the backend is returning binary data. How to process there?
Did I miss something?
Here is my hopefully working swagger configuration: /store/product/{id}/pic: summary: Image get: parameters: