Skip to content

Commit 298cf99

Browse files
committed
Generate SDK with OpenAPI Generator Version
1 parent ab08856 commit 298cf99

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+570
-610
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ stages:
1414
- pip install -r test-requirements.txt
1515
- pytest --cov=bandwidth
1616

17+
pytest-3.8:
18+
extends: .pytest
19+
image: python:3.8-alpine
1720
pytest-3.9:
1821
extends: .pytest
1922
image: python:3.9-alpine
@@ -26,6 +29,3 @@ pytest-3.11:
2629
pytest-3.12:
2730
extends: .pytest
2831
image: python:3.12-alpine
29-
pytest-3.13:
30-
extends: .pytest
31-
image: python:3.13-alpine

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.17.0
1+
7.11.0

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# ref: https://docs.travis-ci.com/user/languages/python
22
language: python
33
python:
4+
- "3.8"
45
- "3.9"
56
- "3.10"
67
- "3.11"
78
- "3.12"
8-
- "3.13"
99
# uncomment the following if needed
10-
#- "3.13-dev" # 3.13 development branch
10+
#- "3.12-dev" # 3.12 development branch
1111
#- "nightly" # nightly build
1212
# command to install dependencies
1313
install:

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ This Python package is automatically generated by the [OpenAPI Generator](https:
55

66
- API version: 1.0.0
77
- Package version: 1.0.0
8-
- Generator version: 7.17.0
8+
- Generator version: 7.11.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010
For more information, please visit [https://dev.bandwidth.com](https://dev.bandwidth.com)
1111

1212
## Requirements.
1313

14-
Python 3.9+
14+
Python 3.8+
1515

1616
## Installation & Usage
1717
### pip install
@@ -73,6 +73,8 @@ configuration = bandwidth.Configuration(
7373
password = os.environ["PASSWORD"]
7474
)
7575

76+
configuration.access_token = os.environ["ACCESS_TOKEN"]
77+
7678

7779
# Enter a context with an instance of the API client
7880
with bandwidth.ApiClient(configuration) as api_client:
@@ -337,6 +339,14 @@ Authentication schemes defined for the API:
337339

338340
- **Type**: HTTP basic authentication
339341

342+
<a id="OAuth2"></a>
343+
### OAuth2
344+
345+
- **Type**: OAuth
346+
- **Flow**: application
347+
- **Authorization URL**:
348+
- **Scopes**: N/A
349+
340350

341351
## Author
342352

bandwidth.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ info:
99
version: 1.0.0
1010
security:
1111
- Basic: []
12+
- OAuth2: []
1213
tags:
1314
- name: Messages
1415
- name: Media
@@ -8427,6 +8428,12 @@ components:
84278428
84288429
84298430
- Example: `Authorization: Basic ZGVtbZpwQDU1dzByZA==`
8431+
OAuth2:
8432+
type: oauth2
8433+
flows:
8434+
clientCredentials:
8435+
tokenUrl: https://api.bandwidth.com/api/v1/oauth2/token
8436+
scopes: {}
84308437
callbacks:
84318438
inboundCallback:
84328439
'{inboundCallbackUrl}':

0 commit comments

Comments
 (0)