Artur Maciag
a533a080cc
byte string format
2019-02-27 00:59:45 +00:00
Diogo Baeder de Paula Pinto
dadf075670
Accepting uuid string format and validating accordingly.
2019-02-26 02:57:50 -03:00
A
d07a9d0e63
Merge pull request #106 from benhowes/patch-1
...
Dont use value for determining any type
2019-02-24 02:11:11 +00: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
Ben Howes
3d2926871b
Dont use value for determining any type
...
otherwise Falsy values are not valid types
2018-12-11 14:49:13 +00:00
Artur Maciag
db5d825395
Version 0.7.1
2018-10-29 10:19:49 +00:00
Artur Maciag
4db726bdd7
Version 0.7.0
2018-10-25 13:05:59 +01:00
A
114ab79162
Merge branch 'master' into date-time-rfc3339
2018-09-13 20:42:32 +01:00
Domen Kožar
e1c64792d2
typo
2018-09-13 13:57:59 +01:00
Domen Kožar
399602f013
sync master changes with exception refactoring
2018-09-13 11:59:44 +01:00
Domen Kožar
17ea740b7b
Add field name to all property errors
2018-09-13 10:58:36 +01: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
Domen Kožar
286e26c4ed
openapi 3.0 defines date-time format to be rfc3339
2018-09-12 15:16:46 +01:00
8db5c08ed1
Add support for additional validation properties
...
Add support for the following validation properties:
- multipleOf
- maximum
- exclusiveMaximum
- minimum
- exclusiveMinimum
- maxLength
- minLength
- pattern
- maxItems
- minItems
- uniqueItems
- maxProperties
- minProperties
Fixes #49
2018-09-09 00:30:38 -04:00
Marcin Molenda
e5cb549ea1
Expose tags in Operation object
2018-08-31 16:57:53 +02:00
p1c2u
82a24f7ec4
Version 0.6.0
2018-08-23 21:42:53 +01:00
p1c2u
0cbbdb0232
Unmarshal any schema type
2018-08-23 09:29:36 +01:00
p1c2u
05b8a30091
Any schema type
2018-08-22 14:27:32 +01:00
Artur Maciag
82f32be1e7
String validation
2018-08-22 13:49:24 +01:00
Artur Maciag
e395b50558
Collection validation
2018-08-22 10:29:39 +01:00
Artur Maciag
3aaa3ceb8b
Separate type and structure validation
2018-08-22 10:05:15 +01:00
p1c2u
0915e94530
Object validation
2018-08-22 09:34:18 +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
grktsh
d4f65a2ed2
Support unmarshaling string with format keyword
2018-08-17 13:25:12 +09:00
A
ac797bcf2a
Merge pull request #46 from HoverHell/paramlocations
...
Request headers and cookies parameter parsing fix
2018-08-13 20:21:46 +01:00
Sean Marlow
23af33b7ca
Replace unicode character for RPM build.
...
To make building RPMs of package easier when using ascii by
default.
2018-07-31 11:52:52 -06:00
p1c2u
a9d858e940
Python2 compatibility module
2018-07-29 00:16:30 +01: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
Rafael Caricio
15fc9b009a
Makes it possible to access API examples
2018-07-24 09:47:02 +02:00
Rafael Caricio
8ab0b6206e
Populate operation_id attr
2018-07-23 18:02:51 +02:00
Konrad Cempura
e3dfee56cd
Python 2.7: Requirements for older python and patches for imports
2018-07-15 23:46:43 +02:00
Konrad Cempura
b8c03d90f4
Python 2.7: Copy list using slice
2018-07-15 23:46:38 +02: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
Konrad Cempura
1b9bb11114
Python 2.7: Remove Yarl from requirements
2018-07-15 23:46:30 +02:00
Konrad Cempura
64ac723e54
Python 2.7: Declare UTF-8 in files with non-ascii characters
2018-07-15 23:46:26 +02:00
Artur Maciag
f8e977cc17
Parameters tests
2018-07-09 12:10:05 +01:00
HoverHell
742268fe09
Request headers and cookies parameter parsing fix
2018-06-12 19:44:30 +03:00
Artur Maciag
8f22b6a30a
Version 0.5.0
2018-05-30 15:13:34 +01:00
Artur Maciag
54b8011603
Mimetype wildcards support
2018-05-30 15:01:01 +01:00
Artur Maciag
78f55ee80f
Schema additional properties support
2018-05-30 11:20:35 +01:00
Artur Maciag
d87b60ade7
Schema format accepts any value
2018-05-30 09:41:34 +01:00
Artur Maciag
4c75f0f9b7
OneOf schema support
2018-05-25 16:50:09 +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