openapi-typescript-codegen icon indicating copy to clipboard operation
openapi-typescript-codegen copied to clipboard

Support for securitySchemes

Open christopheblin opened this issue 4 years ago • 0 comments

An OpenApi document can contain securitySchemes to indicate that all calls must be done with a JWT or an API-KEY or ...

The whole spec : https://swagger.io/docs/specification/authentication/

In my case, the api_key must be added in the query string, so the only proper thing to do is to overwrite the generated request.ts

also see #904

christopheblin avatar Dec 02 '21 15:12 christopheblin