mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 21:20:56 +00:00
* Adds python client, template, and spec updates for query param content type json * Samples regenerated * Finishes adding test cases for query param json content type * Uses newest templates * Templates replaced, spec replaces, sample replaced * Samples updated
51 lines
1.4 KiB
Python
51 lines
1.4 KiB
Python
# coding: utf-8
|
|
|
|
"""
|
|
OpenAPI Petstore
|
|
|
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # 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 = "petstore-api"
|
|
VERSION = "1.0.0"
|
|
# To install the library, run the following
|
|
#
|
|
# python setup.py install
|
|
#
|
|
# prerequisite: setuptools
|
|
# http://pypi.python.org/pypi/setuptools
|
|
|
|
REQUIRES = [
|
|
"certifi >= 14.5.14",
|
|
"frozendict ~= 2.3.4",
|
|
"pem >= 19.3.0",
|
|
"pycryptodome >= 3.9.0",
|
|
"python-dateutil ~= 2.7.0",
|
|
"setuptools >= 21.0.0",
|
|
"typing_extensions ~= 4.3.0",
|
|
"urllib3 ~= 1.26.7",
|
|
]
|
|
|
|
setup(
|
|
name=NAME,
|
|
version=VERSION,
|
|
description="OpenAPI Petstore",
|
|
author="OpenAPI Generator community",
|
|
author_email="team@openapitools.org",
|
|
url="",
|
|
keywords=["OpenAPI", "OpenAPI-Generator", "OpenAPI Petstore"],
|
|
python_requires=">=3.7",
|
|
install_requires=REQUIRES,
|
|
packages=find_packages(exclude=["test", "tests"]),
|
|
include_package_data=True,
|
|
license="Apache-2.0",
|
|
long_description="""\
|
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
|
"""
|
|
)
|