Pedro Peixoto
975ac0d7c9
Updating unmarshal and validation methods' signatures to propagate the context until reaching the properties.
2020-02-17 12:25:44 +00:00
Artur Maciag
4044483194
style fixes
2020-02-03 14:55:50 +00:00
Artur Maciag
58d5c26fee
Move param deserializers to separate subpackage
2020-02-03 13:05:44 +00:00
Artur Maciag
7b87cf9019
Move value getters out of schema models
2020-02-03 11:29:01 +00:00
Artur Maciag
b4c10e847a
Split cast and deserialise processes
2020-02-03 10:17:27 +00:00
Artur Maciag
475076a2a2
Deserialize models without schema
2020-02-03 09:31:02 +00:00
p1c2u
3f7442624a
Move unmarshal out of schema models
2020-02-02 22:56:25 +00:00
Artur Maciag
376dc205ae
unmarshalling formatters
2020-02-01 23:50:56 +00:00
p1c2u
368f6882e5
Move casters to separate subpackage
2020-01-23 22:48:34 +00:00
p1c2u
b026fb2151
Move Unmarshallers to separate subpackage
2020-01-23 18:30:31 +00:00
Gouji Ochiai
8152d20e8e
use getall instead of getlist
2019-11-19 13:07:20 +09:00
p1c2u
cfdf3410d2
Narrow validation exceptions
2019-10-20 15:06:13 +01:00
p1c2u
a2fc5284c6
Get rid of object validator
2019-09-12 19:56:39 +01:00
p1c2u
b2410e2f3a
OAS 3.0 validator
2019-09-12 19:46:11 +01:00
p1c2u
c4c51637d2
Rename schema validate to obj_validate
2019-09-12 19:46:11 +01:00
p1c2u
5273a7ff7c
Separate cast and unmarshal
2019-09-02 23:48:13 +01:00
Artur Maciag
9d9629b4bd
Primitive types unmarshallers
2019-06-17 16:24:46 +01:00
Artur Maciąg
cd0ca5d26f
Raw value type strict validation
2019-03-22 11:21:50 +00:00
Domen Kožar
b66ec04ac2
parameters/body should catch all schema errors
2018-09-13 10:58:35 +01:00
Domen Kožar
6bdd1a6756
Rewrok exception handling
...
Main motivation behind this change is to be able to catch exceptions
as per raise_for_errors() helpers, but to inspect state of exceptions
instead of just getting a rendered string. This allows rendering
exceptions into JSON, for example.
2018-09-13 10:58:35 +01:00
Domen Kožar
89a53f6edc
review feedback
2018-09-13 10:58:33 +01:00
Domen Kožar
64628d1cc9
Sketch out custom formatters design
2018-09-13 10:41:34 +01:00
Artur Maciag
f9a7472c92
Separate schema casting and validation
2018-08-17 18:35:21 +01:00
Artur Maciag
7aaa5170a6
Parameter get_value restructure
2018-08-17 14:29:41 +01:00
Artur Maciag
b75798aa62
Handle parameter deserialization errors
2018-08-17 13:25:31 +01:00
Artur Maciag
36f7d4edf4
PEP8 fixes
2018-05-25 11:30:50 +01:00
Artur Maciag
4e1a61aace
Exceptions restructure
2018-05-25 11:30:50 +01:00
Artur Maciag
734a4673f8
Schema objects restructure
2018-05-25 11:30:50 +01:00