[BUG] [typescript-angular] bearer auth is handled like basic auth
Created by: MBcom
Bug Report Checklist
- [x ] Have you provided a full/minimal spec to reproduce the issue?
- [x ] Have you validated the input using an OpenAPI validator (example)?
- [ x] What's the version of OpenAPI Generator used?
- [x ] Have you search for related issues/PRs?
- [x ] What's the actual output vs expected output?
-
[Optional] Bounty to sponsor the fix (example)
Description
- generate a typescript angular package with configured bearer auth like
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
- and the result in the generated package is that it trys to use basic authentication with username and password
- the expected behaviour is too send the bearer token in the header of the api request
-> look at my suggestions in the related pull request
openapi-generator version
4.0.0
OpenAPI declaration file content or url
look above
Command line used for generation
Steps to reproduce
generate a typescript-angular package with the open aip generator cli
Related issues/PRs
#1446 (closed), #1577 (closed), #457 (closed), #1930
Suggest a fix
look at the linked pull request