Add sub-app to generate open api spec

This commit is contained in:
Vincent Maillol
2020-10-23 19:44:44 +02:00
parent 1ffde607c9
commit d6b5fc26f3
24 changed files with 932 additions and 124 deletions

47
setup.cfg Normal file
View File

@@ -0,0 +1,47 @@
[metadata]
name = aiohttp_pydantic
version = attr: aiohttp_pydantic.__version__
url = https://github.com/Maillol/aiohttp-pydantic
author = Vincent Maillol
author_email = vincent.maillol@gmail.com
description = Aiohttp View using pydantic to validate request body and query sting regarding method annotations.
long_description = file: README.rst
keywords =
aiohttp
pydantic
annotations
validation
license = MIT
classifiers =
Intended Audience :: Developers
Intended Audience :: Information Technology
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Topic :: Software Development :: Libraries :: Application Frameworks
Framework :: AsyncIO
License :: OSI Approved :: MIT License
[options]
zip_safe = False
include_package_data = True
packages = find:
python_requires = >=3.8
install_requires =
aiohttp
pydantic
swagger-ui-bundle
[options.extras_require]
test = pytest; pytest-aiohttp
[options.packages.find]
exclude =
tests
demo
[options.package_data]
aiohttp_pydantic.oas = index.j2