Commit graph

11 commits

Author SHA1 Message Date
Artur Maciag
63f3ffb09f Number format added 2019-05-21 12:54:13 +01:00
Artur Maciąg
f8e4e34e39 String byte format fix 2019-03-22 14:35:12 +00:00
Diogo Baeder de Paula Pinto
a08b62035e Properly formatting UUID if value to be unmarshalled is already a UUID.
Before this change, if a UUID instance got received as value in the
Schema, it was breaking the unmarshal because UUID instances can't be
used as values to instantiate other UUIDs.
2019-02-28 18:25:22 -03:00
Berend Kapelle
f08257b853
fix test for non utc systems.
`strict_rfc3339.rfc3339_to_timestamp()` is tz aware
`datetime.datetime.fromtimestamp` is not

this causes  the test `test_string_format_datetime` to fail on
system that are not on utc
2019-01-28 14:43:24 +01:00
Domen Kožar
286e26c4ed
openapi 3.0 defines date-time format to be rfc3339 2018-09-12 15:16:46 +01:00
Artur Maciag
82f32be1e7 String validation 2018-08-22 13:49:24 +01:00
grktsh
d4f65a2ed2 Support unmarshaling string with format keyword 2018-08-17 13:25:12 +09:00
p1c2u
f95608493a Merge branch 'master' of git://github.com/kcem/openapi-core into kcem-master 2018-07-28 23:15:20 +01:00
p1c2u
3ab55e44bd Lazy schema references 2018-07-28 22:12:47 +01:00
Konrad Cempura
88efa69cfd Python 2.7: Check instance on string_types from six instead of str 2018-07-15 23:46:34 +02:00
Artur Maciag
734a4673f8 Schema objects restructure 2018-05-25 11:30:50 +01:00