Skip to content

Commit 6d87e19

Browse files
Generate SDK with OpenAPI Generator Version 7.0.0 (#179)
Co-authored-by: DX-Bandwidth <[email protected]>
1 parent 7cc59e7 commit 6d87e19

File tree

4 files changed

+18
-25
lines changed

4 files changed

+18
-25
lines changed

.openapi-generator/FILES

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.github/workflows/python.yml
21
.gitlab-ci.yml
32
.travis.yml
43
README.md
@@ -205,6 +204,5 @@ docs/VoiceApiError.md
205204
docs/VoiceCodeResponse.md
206205
git_push.sh
207206
pyproject.toml
208-
requirements.txt
209-
test-requirements.txt
207+
setup.py
210208
tox.ini

openapitools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
33
"spaces": 2,
44
"generator-cli": {
5-
"version": "6.0.1"
5+
"version": "7.0.0"
66
}
77
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "bandwidth"
33
version = "15.0.0"
44
description = "Bandwidth"
55
authors = ["Bandwidth <[email protected]>"]
6-
license = "MIT"
6+
license = "NoLicense"
77
readme = "README.md"
88
repository = "https://github.com/GIT_USER_ID/GIT_REPO_ID"
99
keywords = ["OpenAPI", "OpenAPI-Generator", "Bandwidth"]

setup.py

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,32 @@
1+
# coding: utf-8
2+
13
"""
24
Bandwidth
35
4-
Bandwidth's Communication APIs # noqa: E501
6+
Bandwidth's Communication APIs
57
68
The version of the OpenAPI document: 1.0.0
79
8-
Generated by: https://openapi-generator.tech
9-
"""
10+
Generated by OpenAPI Generator (https://openapi-generator.tech)
11+
12+
Do not edit the class manually.
13+
""" # noqa: E501
14+
1015

1116
import os
1217
import sys
1318
from setuptools import setup, find_packages # noqa: H301
1419

1520
NAME = "bandwidth-sdk"
1621
VERSION = os.environ['RELEASE_VERSION']
17-
# To install the library, run the following
18-
#
19-
# python setup.py install
20-
#
21-
# prerequisite: setuptools
22-
# http://pypi.python.org/pypi/setuptools
23-
24-
if sys.version_info[0] < 3:
25-
with open('README.md', 'r') as fh:
26-
long_description = fh.read()
27-
else:
28-
with open('README.md', 'r', encoding='utf-8') as fh:
22+
23+
with open('README.md', 'r', encoding='utf-8') as fh:
2924
long_description = fh.read()
3025

31-
REQUIRES = [
32-
"urllib3 >= 1.25.3",
33-
"python-dateutil",
34-
]
26+
with open('requirements.txt') as f:
27+
REQUIRES = f.read().splitlines()
28+
29+
PYTHON_REQUIRES = ">=3.7"
3530

3631
setup(
3732
name=NAME,
@@ -41,7 +36,7 @@
4136
author_email="[email protected]",
4237
url="https://dev.bandwidth.com/sdks/python",
4338
keywords=["OpenAPI", "OpenAPI-Generator", "Bandwidth"],
44-
python_requires=">=3.6",
39+
python_requires=PYTHON_REQUIRES,
4540
install_requires=REQUIRES,
4641
packages=find_packages(exclude=["test", "tests"]),
4742
include_package_data=True,

0 commit comments

Comments
 (0)