-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bearer auth seems to not work with python codegen #8865
Comments
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
Hi, I can confirm that this issue exists
this values are not available in any request finally I solved the problem by adding this lines to the
|
we decided against modifying the generated code itself, we are just passing extra headers to the calls, that way we can still use the generated code. @AlfredoCubitos
|
@4c74356b41 Yes, this is a better solution 👍 |
apiKey auth is working in the v6.2.0 python client and onward. One can see it working in this test: |
Re-opening this because api key auth is different than bearer auth |
This has been working from v5.0.0 (Dec 20, 2020) and onward in the 'python' client Even earlier in v4.0.3 (June 28, 2019) I see this working: |
Bug Report Checklist
my spec has this:
after generating the code, i see this in the code:
Description
code doesn't use bearer token in the requests
openapi-generator version
OpenAPI declaration file content or url
https://github.com/Telecominfraproject/wlan-cloud-services/blob/master/portal-services/src/main/resources/portal-services-openapi.yaml
Generation Details
Related issues/PRs
#1577
The text was updated successfully, but these errors were encountered: