Commit Graph
51 Commits
Author SHA1 Message Date
Georg K c32da605d0 fix: use tags 2022-03-30 20:10:54 +03:00
Georg K 40dfded213 fix: use tags 2022-03-30 20:07:54 +03:00
Georg K 0e991070a5 fix: use tags 2022-03-30 20:05:56 +03:00
Georg K bf34914a8a fix: use tags 2022-03-30 20:02:53 +03:00
Georg K c649905e69 fix:use fixed branch 2022-03-30 19:55:32 +03:00
Georg K 4015c60cfa fix: package version 2.12.1 2022-03-30 19:51:35 +03:00
Georg K a1dcc544cf fix: package version 2022-03-30 19:48:03 +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
Vincent Maillol 69fb553635 Fix - Does not work with from __future__ import annotations 2022-02-05 10:29:06 +01:00
Vincent Maillol 799080bbd0 Add group parameter feature 2021-10-01 08:03:54 +02:00
Vincent Maillol 4a49d3b53d update version 2021-08-22 15:06:11 +02:00
Vincent Maillol fa7e8d914b We can add custom tags to generated OPS 2021-08-22 15:00:50 +02:00
Vincent Maillol adcf4ba902 version 1.10.1 2021-08-04 09:04:05 +02:00
Vincent Maillol c1a63e55b2 Add unit tests 2021-08-04 08:09:43 +02:00
Kirill A. GolubevandGitHub 9a624437f4 add support of Optional[Union[T]] 2021-08-02 14:46:05 +03:00
Vincent Maillol 43d2789636 version 1.10.0 2021-07-26 09:04:35 +02:00
Vincent Maillol 7ab2d84263 Add a hook to intercept ValidationError 2021-07-26 08:37:12 +02:00
Vincent Maillol 89a22f2fcd code reformatting 2021-07-11 07:31:37 +02:00
Vincent Maillol 08ab4d2610 refactoring 2021-07-11 07:21:45 +02:00
Daan de Ruiter c92437c624 Further specify allowed_methods type hint 2021-05-13 11:06:54 +02:00
Daan de Ruiter 5f86e1efda Improve compatibility with web.View and support subclassing Views 2021-05-13 10:59:01 +02:00
Vincent Maillol 324c9b02f3 Update version 1.9.0 2021-04-04 14:02:37 +02:00
spinenkoiaGitHubСпиненко Иван ispinenko@ussc.ru <ispinenko@ussc.ru>
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
Vincent Maillol 7492af5acf Update version 1.8.1 2021-03-27 12:45:19 +01:00
MAILLOL VincentandGitHub 145d2fc0f2 query string accept multiple values for same parameter key (#11) 2021-03-27 11:56:19 +01:00
Daan de RuiterandGitHub 81d4e93a1d Prevent internal server error when receiving a JSON request body with non-object top-level structure (#9)
Prevent internal server error when receiving a JSON request body with non-object top-level structure
2021-03-05 21:46:13 +01:00
Vincent Maillol c6b979dcaf version=1.7.2 fix oas.spec schema is broken after reloading the page 2021-02-27 08:08:12 +01:00
Vincent Maillol 4ff9739293 version=1.7.1 fix README render, force twine check because travis does not mount error. 2020-12-20 17:06:30 +01:00
Vincent Maillol 071395e8bd Update version 1.7.0 2020-12-20 13:20:48 +01:00
Vincent Maillol 070d7e7259 Increase OAS description
Parce docstring of http handlers to increase OAS
Remove the not expected definitions key in the OAS
2020-12-20 13:08:51 +01:00
jar3b 16ba8caa5b fix: reapply raise_validation_errors parameter to setup() 2020-12-03 21:07:50 +03: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
jar3b cdcd526fb4 fix: detect x-forwarded-proto if deployed behind proxy
For static files handling, was set up in "oas_ui()"
2020-12-03 21:05:08 +03:00
Vincent Maillol 25fcac18ec Fix wrong link in OAS components with nested pydantic.BaseModel 2020-11-28 19:46:36 +01:00
Vincent Maillol f2b16a46b5 Update version 1.6.0 2020-11-28 12:42:06 +01:00
Vincent Maillol c4c18ee4a1 increase pydantic integration with headers, query string and url path 2020-11-28 12:39:50 +01:00
Vincent Maillol a6d96d711b Update version 1.5.1 2020-11-21 18:07:04 +01:00
Vincent Maillol 462d8d8b98 Fix bug query string appear as required in generated Open API specification. 2020-11-21 17:23:01 +01:00
Vincent Maillol 0d3a33c964 Update version 1.5.0 2020-11-15 14:41:11 +01:00
Vincent Maillol 913f50298c Use docstring of handler in the OAS description 2020-11-14 20:33:55 +01:00
Vincent Maillol 03854cf939 Update version 1.4.1 2020-11-03 13:14:16 +01:00
Vincent Maillol 2db23d3328 PydanticView returns 400 if the request payload is not JSON 2020-11-03 13:10:44 +01:00
Vincent Maillol d866ce5358 fix bug we cannot use optional params 2020-11-03 12:54:28 +01:00
Vincent Maillol e4b23398b8 Update version 1.4.0 2020-11-01 19:45:05 +01:00
Vincent Maillol cda4fba4c2 Add a command line tool to generate OAS in a file 2020-11-01 14:35:41 +01:00
Vincent Maillol 236374240e Update version to 1.3.0 2020-10-30 19:14:21 +01: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
Vincent Maillol b37c03e9d9 parse path and header 2020-10-10 16:01:35 +02:00
Vincent Maillol cc0cbfbb5e add HTTP header parsing 2020-10-04 20:55:13 +02:00