68 Commits

Author SHA1 Message Date
Georg K
937c09e2b7 feat: add description to parameters; bump: libs and tests; bump: 2.0.3 2023-11-01 03:55:10 +03:00
Georg K
7ce5e5d0d4 feat: update root model defs 2023-07-14 05:21:43 +03:00
Georg K
93e391b7b2 feat: update pydantic 2023-07-14 04:40:57 +03:00
Georg K
a94c9d4863 feat: update pydantic 2023-07-14 03:31:33 +03:00
Georg K
26fd6fa19f fix: handle discriminated model with root definition 2023-02-09 12:25:28 +03:00
Georg K
b896020a4f feat: test oas; feat: v1.120.7 2022-11-22 17:19:00 +03:00
Georg K
ba0530d6b1 feat: add support for operationId in docstring; feat: v1.120.6 2022-11-11 10:02:27 +03:00
Georg K
1dd98d2752 feat: add support for definition in query param 2022-08-04 23:01:04 +03:00
Georg K
207204fe53 feat: allow to specify custom jinja template 2022-07-28 03:25:37 +03:00
Georg K
7618066b7f feat: use swagger-4-ui-bundle (https://github.com/bartsanchez/swagger_ui_bundle) 2022-07-28 03:15:26 +03:00
Georg K
c4b5c20ff4 fix: version equals to upstream 2022-07-28 02:04:55 +03:00
Georg K
df2ef1adc0 feat: remove raise_validation_errors 2022-07-28 01:53:44 +03:00
Georg K
4d7e5b0384 fix: fix tags 2022-03-30 20:27:36 +03:00
Georg K
6c154c76ff fix: fix tags 2022-03-30 20:24:39 +03:00
Georg K
cd3a48c27a fix: fix tags 2022-03-30 20:21:50 +03:00
Georg K
52bb0699e6 fix: use tags 2022-03-30 20:16:20 +03:00
Georg K
1181e2fc47 fix: use tags 2022-03-30 20:12:44 +03:00
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. Golubev
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
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
Vincent Maillol
7492af5acf Update version 1.8.1 2021-03-27 12:45:19 +01:00
MAILLOL Vincent
145d2fc0f2
query string accept multiple values for same parameter key (#11) 2021-03-27 11:56:19 +01:00
Daan de Ruiter
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