46 Commits

Author SHA1 Message Date
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
MAILLOL Vincent
cd8422bde3
Merge pull request #6 from Maillol/increase_oas
Increase OAS description
2020-12-20 13:15:32 +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
Vincent Maillol
25fcac18ec Fix wrong link in OAS components with nested pydantic.BaseModel v1.6.1 2020-11-28 19:46:36 +01:00
Vincent Maillol
f2b16a46b5 Update version 1.6.0 v1.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
MAILLOL Vincent
93ec0f6c80
Update README.rst 2020-11-21 22:50:28 +01:00
Vincent Maillol
a6d96d711b Update version 1.5.1 v1.5.1 2020-11-21 18:07:04 +01:00
MAILLOL Vincent
8aee135f95
Merge pull request #5 from Maillol/fix_bug_oas_generation
Fix bug query string appear as required in generated Open API specifi…
2020-11-21 17:57:36 +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 v1.5.0 2020-11-15 14:41:11 +01:00
MAILLOL Vincent
22979b7e59
Merge pull request #4 from Maillol/add_code_coverage
Add code coverage
2020-11-15 09:27:56 +01:00
Vincent Maillol
b9519bb868 Add code coverage 2020-11-15 09:21:39 +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 v1.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
13c19105d8 Update README.rst 2020-11-02 23:27:45 +01:00
Vincent Maillol
e4b23398b8 Update version 1.4.0 v1.4.0 2020-11-01 19:45:05 +01:00
MAILLOL Vincent
57b50725ea
Merge pull request #3 from Maillol/add-cmd-to-generate-oas
Add a command line tool to generate OAS in a file
2020-11-01 19:35:24 +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 v1.3.0 2020-10-30 19:14:21 +01:00
MAILLOL Vincent
635f38e33a
Merge pull request #2 from Maillol/add-type-to-define-oas-responses
Add type to define OAS responses
2020-10-30 16:59:54 +01:00
Vincent Maillol
62d871fb5c Add type to define OAS responses 2020-10-30 16:05:04 +01:00
MAILLOL Vincent
77954cdd69
Merge pull request #1 from Maillol/add-oas-view
Add sub-app to generate open api spec
2020-10-25 20:42:55 +01:00
Vincent Maillol
d6b5fc26f3 Add sub-app to generate open api spec 2020-10-25 20:28:11 +01:00
Vincent Maillol
1ffde607c9 Update version v1.0.0 2020-10-10 17:54:16 +02:00
Vincent Maillol
2acd9b91a3 Update readme 2020-10-10 17:48:46 +02:00
Vincent Maillol
5564abc8ac update required python version 2020-10-10 17:12:12 +02:00
Vincent Maillol
ecfc5ef72c Add travisCI config file 2020-10-10 17:04:14 +02: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
Vincent Maillol
88fd7b9270 add README 2020-10-04 13:24:14 +02:00
Vincent Maillol
69516ead93 fix unittest 2020-10-04 12:49:14 +02:00
Vincent Maillol
97ede771d2 Create aiohttp_pydantic 2020-10-04 12:42:58 +02:00
MAILLOL Vincent
a397f3d8ec
Initial commit 2020-10-04 12:32:02 +02:00