6 Commits

Author SHA1 Message Date
Georg K
df2ef1adc0 feat: remove raise_validation_errors 2022-07-28 01:53:44 +03:00
Georg K
27c0d76e16 Merge branch 'main' into fixed
# Conflicts:
#	aiohttp_pydantic/oas/__init__.py
#	aiohttp_pydantic/view.py
2022-03-30 17:30:15 +03:00
spinenkoia
beb638c0af
Added a wrapper for get_oas to throw spec info (#12) (#13)
* Added a wrapper for get_oas to throw spec info (#12)

* Added tests generate_oas

* Moved params to Application

Co-authored-by: Спиненко Иван ispinenko@ussc.ru <ispinenko@ussc.ru>
2021-04-04 13:22:05 +02:00
jar3b
53357214a8 feat: add raise_validation_errors parameter to setup()
To control how pydantic.ValidationError will be handled, own handler (return json) or raise exception to allow intercept in aiohttp middleware
2020-12-03 21:06:10 +03:00
Vincent Maillol
62d871fb5c Add type to define OAS responses 2020-10-30 16:05:04 +01:00
Vincent Maillol
d6b5fc26f3 Add sub-app to generate open api spec 2020-10-25 20:28:11 +01:00