Closed exejutable closed 5 years ago
Searching in the code in operation-vartiant.ts i can see the problem. This behavior is all about the custom response types like application/iway-csr-api-customer-response-v1-hal+json
this is very common in a tons of restful api, maybe we can fix it if parse the content searching a substring with json to avoid blob in this cases?
Hello thanks for this amazing tool. I have a issue based on my open api yaml
When all services are generated they pass to the requestBuilder a object with reponseType blob, the reques runs fine in the network tab on chrome
Edit
Searching in the code in operation-vartiant.ts i can see the problem. This behavior is all about the custom response types like
application/iway-csr-api-customer-response-v1-hal+json
this is very common in a tons of restful api, maybe we can fix it if parse the content searching a substring with json to avoid blob in this cases?Raw Generated service:
Calling the service from controller returns a blob object
I change it to json and works fine now, but i need to change the response builder every time i do a new openapi build
Here is my openapi yaml:
csr.yaml.tar.gz