move openapi 3 samples to the correct folder (#3267)

This commit is contained in:
William Cheng
2019-07-03 13:18:52 +08:00
committed by GitHub
parent b44f6c302a
commit 35262aa7d1
230 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,39 @@
# coding: utf-8
import sys
from setuptools import setup, find_packages
NAME = "openapi_server"
VERSION = "1.0.0"
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = [
"connexion==2.0.0",
"swagger-ui-bundle==0.0.2",
"python_dateutil==2.6.0"
]
setup(
name=NAME,
version=VERSION,
description="OpenAPI Petstore",
author_email="",
url="",
keywords=["OpenAPI", "OpenAPI Petstore"],
install_requires=REQUIRES,
packages=find_packages(),
package_data={'': ['openapi/openapi.yaml']},
include_package_data=True,
entry_points={
'console_scripts': ['openapi_server=openapi_server.__main__:main']},
long_description="""\
This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
"""
)