apiKey securityScheme support #816
Replies: 6 comments
-
I also am dealing with openapi docs that use Basic HTTP Authentication securitySchemes:
basicAuth:
type: http
scheme: basic I'm then adding to my request... security:
- basicAuth: []
|
Beta Was this translation helpful? Give feedback.
-
Is it posible to fix by templates? |
Beta Was this translation helpful? Give feedback.
-
Yes, it is. Workaround: Please follow this https://github.com/openapi-generators/openapi-python-client#using-custom-templates |
Beta Was this translation helpful? Give feedback.
-
Awesome, thanks for providing a workaround @Nov1kov ! |
Beta Was this translation helpful? Give feedback.
-
Maybe it would be a good idea to just pass through the |
Beta Was this translation helpful? Give feedback.
-
Sounds like another +1 for #202 |
Beta Was this translation helpful? Give feedback.
-
I'm using a third-party API which has this
securityScheme
:and this path (redacted as it is not my API):
The generated code for this API is:
The desired code is:
Beta Was this translation helpful? Give feedback.
All reactions