-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Open
Labels
Description
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] Have you tested with the latest master to confirm the issue still exists?
- [ x] Have you searched for related issues/PRs?
- [ x] What's the actual output vs expected output?
- [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
This is for the python-experimental client generator.
When working with a 'bearer' access token, I am unable to set the 'access_token' property in the Configuration() initializer. Instead, I have to do this:
configuration = client_api.Configuration(
host=URL,
)
configuration.access_token = getToken()ideally I would be able to do this:
configuration = client_api.Configuration(
host=URL,
access_token = getToken()
)openapi-generator version
latest master (8/30/2022)
OpenAPI declaration file content or url
N/A
Related issues/PRs
Suggest a fix
labrown and Neudrino