Headers getting overwritten n scala-akka client generation
Created by: ParakhMittal
Description
In scala-akka-client code that is getting generated, addAuthentication method is called after setting headers using header parameter in the below mentioned line addAuthentication(request.credentials)( httpRequest.withHeaders(headers(request.headerParams)) )
However, in addAuthentication method, we are using withHeaders method that overwrites the headers set using header parameters.
openapi-generator version
Master 5.0.0
Command line used for generation
akka-scala-client
Steps to reproduce
Add bearer token headers along with other headers in the yaml to generate the client