-
-
Notifications
You must be signed in to change notification settings - Fork 245
Closed
Labels
bug 🔥Something isn't workingSomething isn't workingprioritized 🚚This issue has been prioritized and will be worked on soonThis issue has been prioritized and will be worked on soon
Description
Description
I have generated client from OpenAPI spec (as class), but this generated code overrides the headers passed from options, because the spread is happening above the constant header in the generated code. So you have no way of passing headers to the client.
Also when I do not generate the client as class, there is the same problem and furthermore the constant headers has the correct Content-type filled. In the class form there is Content-type:null --- both are generated from the same spec.
This seems like a pretty big issue and am surprised noone has noticed this, so I am wondering if I am doing something wrong
Reproducible example or configuration
No response
OpenAPI specification (optional)
No response
System information (optional)
No response
vegetableman and jakubman1
Metadata
Metadata
Assignees
Labels
bug 🔥Something isn't workingSomething isn't workingprioritized 🚚This issue has been prioritized and will be worked on soonThis issue has been prioritized and will be worked on soon