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
93e391b7b2
feat: update pydantic
2023-07-14 04:40:57 +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
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
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
fa7e8d914b
We can add custom tags to generated OPS
2021-08-22 15:00:50 +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
89a22f2fcd
code reformatting
2021-07-11 07:31: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
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
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
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
c4c18ee4a1
increase pydantic integration with headers, query string and url path
2020-11-28 12:39:50 +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
913f50298c
Use docstring of handler in the OAS description
2020-11-14 20:33:55 +01:00
Vincent Maillol
d866ce5358
fix bug we cannot use optional params
2020-11-03 12:54:28 +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
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