Commit Graph
116 Commits
Author SHA1 Message Date
MAILLOL VincentandGitHub 1b10ebbcfa Merge pull request #25 from Maillol/user_can_add_tags_to_generated_oas
We can add custom tags to generated OPS
2021-08-22 15:03:04 +02:00
Vincent Maillol fa7e8d914b We can add custom tags to generated OPS 2021-08-22 15:00:50 +02:00
MAILLOL VincentandGitHub cb996860a9 Merge pull request #23 from Maillol/update-ci-add-tasks-file
Add pyinvoke task
2021-08-14 10:41:47 +02:00
Vincent Maillol dbf1eb6ac4 Add pyinvoke task
Ensure git tag matches package versions before uploading
2021-08-14 10:21:00 +02:00
Vincent Maillol adcf4ba902 version 1.10.1 2021-08-04 09:04:05 +02:00
MAILLOL VincentandGitHub a624aba613 Merge pull request #22 from ffkirill/support_OptionalUnionT
Fix bug optional parameter is reported as required.
2021-08-04 08:35:56 +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
MAILLOL VincentandGitHub 258a5cddf6 Merge pull request #21 from Maillol/add-a-hook-on-the-errors
Add a hook to intercept ValidationError
2021-07-26 08:41:50 +02:00
Vincent Maillol 7ab2d84263 Add a hook to intercept ValidationError 2021-07-26 08:37:12 +02:00
MAILLOL VincentandGitHub 81138cc1c6 Merge pull request #20 from Maillol/update-ci
Enable deploy on pypi
2021-07-26 07:03:14 +02:00
Vincent Maillol c9c8c6e205 Enable deploy on pypi 2021-07-26 06:58:02 +02:00
MAILLOL VincentandGitHub 17220f2840 Merge pull request #17 from Maillol/move-ci-to-drone
move ci
2021-07-13 15:56:05 +02:00
Vincent Maillol ff32f68e89 move ci 2021-07-13 15:33:39 +02:00
MAILLOL VincentandGitHub 911bcbc2cd Merge pull request #16 from Maillol/view-compatibility
Support subclassing PydanticViews
2021-07-11 07:37:25 +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
MAILLOL VincentandGitHub 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
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 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 VincentandGitHub 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 VincentandGitHub 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 VincentandGitHub 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 VincentandGitHub 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