mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 05:00:50 +00:00
* Requires python >= 3.5, adds type hints to call_api method * Adds type hints to files_parameters and __call_api * Adds and uses a new json encoded to prepare data before it is sent * Removes nose name from gitlab testing invocations * Also updates travis to py>=3.5 * Collapses encoder back into sanitize_for_serialization
48 lines
1.1 KiB
Python
48 lines
1.1 KiB
Python
# coding: utf-8
|
|
|
|
"""
|
|
OpenAPI Extension with dynamic servers
|
|
|
|
This specification shows how to use dynamic servers. # noqa: E501
|
|
|
|
The version of the OpenAPI document: 1.0.0
|
|
Generated by: https://openapi-generator.tech
|
|
"""
|
|
|
|
|
|
from setuptools import setup, find_packages # noqa: H301
|
|
|
|
NAME = "dynamic-servers"
|
|
VERSION = "1.0.0"
|
|
# To install the library, run the following
|
|
#
|
|
# python setup.py install
|
|
#
|
|
# prerequisite: setuptools
|
|
# http://pypi.python.org/pypi/setuptools
|
|
|
|
REQUIRES = [
|
|
"urllib3 >= 1.15",
|
|
"certifi",
|
|
"python-dateutil",
|
|
"nulltype",
|
|
]
|
|
|
|
setup(
|
|
name=NAME,
|
|
version=VERSION,
|
|
description="OpenAPI Extension with dynamic servers",
|
|
author="OpenAPI Generator community",
|
|
author_email="team@openapitools.org",
|
|
url="",
|
|
keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Extension with dynamic servers"],
|
|
python_requires=">=3.5",
|
|
install_requires=REQUIRES,
|
|
packages=find_packages(exclude=["test", "tests"]),
|
|
include_package_data=True,
|
|
license="Apache-2.0",
|
|
long_description="""\
|
|
This specification shows how to use dynamic servers. # noqa: E501
|
|
"""
|
|
)
|