You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@MBcom, is this issue solved for you? I use the same securityScheme as you, and as expected by looking at your PR's content, my auth header gets prefixed with "Bearer ", and not "JWT ". I assume, the "bearerFormat" is ignored?
@maxfriedmann sry for late answer
you are right bearerFormat is not asumed to be the header prefix. We use Bearer <token> for JWT. I'm not sure was the standard says, but i thought the JWT is only the token format and Bearer the scheme.
@MBcom, yes, you're absolutely right, shame on me. After reading the official spec (https://jwt.io/introduction) I totally agree with you. bearerFormat relates to the format of the <token> of course.
Bug Report Checklist
Description
-> 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, #1577, #457, #1930
Suggest a fix
look at the linked pull request
The text was updated successfully, but these errors were encountered: