Closed tominkki closed 2 years ago
Morjes! Sorry but I'm unable to reproduce this.
This is definitely not the expected behaviour.
Could you take a look at this to see if you can spot anything wrong @tominkki ?
https://github.com/anttiviljami/openapi-client-axios/blob/master/src/client.ts#L388
I can't found reproduction too.
@tominkki, could you please provide more details?
axios
and openapi-cleint-axios
version, webpack
babel
configuration
Closing issue due to inactivity
I'm not completely sure if this is bug or desired feature, but behaviour when setting headers manually for one request is (atleast in this case) weird.
Expected behaviour
Manually set headers overrides initial headers:
authorization: 'Bearer token'
Actual behaviour
Manually set headers are joined to initial headers:
authorization: 'initial header, Bearer token'
Steps to reproduce