Feature Request: have an option omit status
OR headers
OR both from fetch response
#1836
Labels
fetch
Fetch client related issue
Hello !
Context
I started working with Orval 7.1.1. I have written a custom fetch function that was a variation around the provided example:
A recent PR also adds
headers
to the response.Problem
The
headers
of my responses can be quite big and I would prefer not to return them.It is possible to use the flag
includeHttpResponseReturnType
to stop gettingheaders
in the response, but it also removestatus
, which I need.Feature request
It would be nice to have 2 flags or have
includeHttpResponseReturnType
being able to be set tonone
,status
,headers
. That would allow to have none of them, or only headers, or only status returned.The text was updated successfully, but these errors were encountered: