Commit graph

122 commits

Author SHA1 Message Date
Peter Bašista
49c2330810 Use appropriate default values for OpenAPI object fields
The specification:

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#schemaObject

clearly states that fields:

- #/info
- #/paths
- #/components
- #/components/schemas
- #/components/responses
- #/components/parameters
- #/components/requestBodies

are objects.
2018-02-09 17:41:39 +01:00
Artur Maciag
e451c9f10c Version 0.4.0 2017-11-14 16:21:32 +00:00
Artur Maciag
6254d800a8 Use location local variable fix 2017-11-14 16:15:50 +00:00
A
64a5045fd8
Merge pull request #12 from p1c2u/feature/serialized-parameters-support
Serialized parameters support
2017-11-14 16:12:32 +00:00
Artur Maciag
fd450e6be6 Parameter deserializers 2017-11-14 16:05:03 +00:00
Artur Maciag
2d50e920ab Schema enum 2017-11-14 13:36:05 +00:00
Artur Maciag
b777ac4bfe Parameter enums 2017-11-14 11:28:45 +00:00
Artur Maciag
56f6a6db7d Version 0.3.4 2017-11-06 17:31:02 +00:00
A
e39d364b78
Merge pull request #11 from p1c2u/feature/all-of-support
AllOf support
2017-11-06 16:54:15 +00:00
Artur Maciag
1739828559 AllOf support 2017-11-06 16:50:00 +00:00
Artur Maciag
cffa0b4528 Version 0.3.3 2017-11-06 15:08:48 +00:00
Artur Maciag
219d1c650e Flask wrapper status code fix 2017-11-06 15:08:21 +00:00
Artur Maciag
dcb53244f2 Version 0.3.2 2017-11-06 14:57:32 +00:00
Artur Maciag
b69e268701 Response dereference support 2017-11-06 14:57:08 +00:00
Artur Maciag
12dcc8cde4 Version 0.3.1 2017-11-06 14:41:41 +00:00
Artur Maciag
b9a8477cd5 Response validated_data shortcut 2017-11-06 14:32:46 +00:00
A
fda4615057
Merge pull request #10 from p1c2u/feature/responses-validation
Responses validation
2017-11-06 14:22:50 +00:00
Artur Maciag
82b02886f2 Response validation README updated 2017-11-06 14:13:40 +00:00
Artur Maciag
128971185a Response data renamed 2017-11-06 14:05:06 +00:00
Artur Maciag
3541793ff3 Check response invalid content type 2017-11-06 13:53:49 +00:00
Artur Maciag
08fdf7c9aa Response validator 2017-11-06 13:32:31 +00:00
Artur Maciag
b0c4141f64 Response ranges support 2017-11-06 11:19:18 +00:00
Artur Maciag
1a05e7da89 Responses and headers objects 2017-11-06 11:00:13 +00:00
Artur Maciag
3fe1e6e458 Version 0.3.0 2017-11-03 15:12:25 +00:00
Artur Maciag
ad27ac9840 Import error loop fix 2017-11-03 15:11:50 +00:00
Artur Maciag
ca988528e7 Wrapper class for shortcuts 2017-11-03 15:04:18 +00:00
Artur Maciag
a40a25202a Validation shortcurs README updated 2017-11-03 14:59:01 +00:00
Artur Maciag
78afae3104 raise_for_errors method renamed 2017-11-03 14:55:21 +00:00
Artur Maciag
6b639b9e34 README validation description minor changes 2017-11-03 14:50:41 +00:00
A
7249858dfc
Merge pull request #9 from p1c2u/feature/request-validator
Request validator
2017-11-03 14:50:16 +00:00
Artur Maciag
d4306d2ea0 Requeest wrappers README updated 2017-11-03 14:22:23 +00:00
Artur Maciag
6f1e45e255 Flask wrapper added 2017-11-03 14:17:38 +00:00
Artur Maciag
624bf3de95 Validate body and parameters shortcuts 2017-11-03 11:40:05 +00:00
Artur Maciag
37f09d7571 Factories and exceptions cleanup 2017-11-03 11:18:48 +00:00
Artur Maciag
e85d2d9f8a README updated with request validation 2017-11-02 16:20:08 +00:00
Artur Maciag
9bdb13f654 Request validator 2017-11-02 16:05:25 +00:00
Artur Maciag
a61a2494cb version 0.2.2 2017-10-19 12:29:13 +01:00
Artur Maciag
372f74f16e Allow empty value with default 2017-10-19 12:28:28 +01:00
Artur Maciag
9cf677eb46 Test specs formatting fix 2017-10-19 11:11:27 +01:00
Artur Maciag
0bf001648a Invalid operation error 2017-10-19 10:34:20 +01:00
Artur Maciag
a86c49d1be Parameter with required and allow empty value support 2017-10-18 14:42:23 +01:00
Artur Maciag
279ace9ed0 version 0.2.0 2017-10-17 14:49:21 +01:00
Artur Maciag
dcedd38772 formatting fix 2017-10-17 14:49:00 +01:00
Artur Maciag
b175da37e6 Additional enum test 2017-10-17 14:46:09 +01:00
Artur Maciag
2491454c2a Schema deprecated value 2017-10-17 14:33:46 +01:00
Artur Maciag
943ca126fc Schema deprecated value 2017-10-17 14:23:26 +01:00
Artur Maciag
1ca11c9d19 Schema nullable value 2017-10-17 14:02:21 +01:00
Artur Maciag
01e7a5b688 version 0.1.4 2017-10-09 16:04:59 +01:00
A
9d6a2e1956 Merge pull request #7 from p1c2u/fix/content-type-renamed-to-mimetype
Content_type renamed to mimetype
2017-10-09 16:02:35 +01:00
Artur Maciag
6e07b0a040 content_type renamed to mimetype 2017-10-09 15:57:07 +01:00