A
7da0c98ea5
Merge pull request #102 from dxr3x/fix-readme-example
...
Fix import in an example
2019-02-24 02:08:57 +00:00
A
698706d2e4
Merge pull request #107 from berend/bugfix/fix_test_for_non_utc
...
fix test for non utc systems.
2019-02-24 02:07:26 +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
Konstantin Tyurin
abe0d6dd5a
Fix import in an example
2018-11-02 11:12:50 +01:00
Artur Maciag
db5d825395
Version 0.7.1
2018-10-29 10:19:49 +00:00
Artur Maciag
917ccf7d38
MANIFEST py27 fix
2018-10-29 10:18:51 +00:00
Artur Maciag
4db726bdd7
Version 0.7.0
2018-10-25 13:05:59 +01:00
A
78cf590ec8
Merge pull request #99 from domenkozar/date-time-rfc3339
...
openapi 3.0 defines date-time format to be rfc3339
2018-09-13 20:58:14 +01:00
A
114ab79162
Merge branch 'master' into date-time-rfc3339
2018-09-13 20:42:32 +01:00
A
2e6f2dedc9
Merge pull request #94 from domenkozar/structured-exceptions
...
Structured exceptions
2018-09-13 20:41:33 +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
A
032aecdd5f
Merge pull request #92 from jamesrwhite/patch-1
...
Fix README example
2018-09-09 20:33:47 +01:00
A
9c0c2af97f
Merge pull request #96 from correl/min-max
...
Add support for additional validation properties
2018-09-09 20:27:02 +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
James White
eff791d52e
Fix README example
...
Rename from openapi_core.validators to openapi_core.shortcuts
2018-09-04 12:57:27 +01:00
A
24109d9568
Merge pull request #91 from mmolenda/master
...
Expose tags in Operation object
2018-08-31 16:39:04 +01: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
7bc0cb4f4e
Travis CI update
2018-08-23 21:41:02 +01:00
A
e177df64fa
Merge pull request #87 from p1c2u/feature/python37-support
...
Python 3.7 support
2018-08-23 10:46:57 +01:00
Artur Maciag
1c5956e5b4
Python 3.7 support
2018-08-23 09:57:27 +01:00
A
632eb3e74a
Merge pull request #73 from p1c2u/feature/any-schema-type
...
Any schema type
2018-08-23 09:40:42 +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
A
4731504f32
Merge pull request #86 from p1c2u/feature/string-validation
...
String validation
2018-08-22 14:01:21 +01:00
Artur Maciag
82f32be1e7
String validation
2018-08-22 13:49:24 +01:00
A
101a11ebe9
Merge pull request #85 from p1c2u/feature/collection-validation
...
Collection validation
2018-08-22 12:58:18 +01:00
Artur Maciag
e395b50558
Collection validation
2018-08-22 10:29:39 +01:00
A
7d1f568bd4
Merge pull request #84 from p1c2u/feature/object-validation
...
Object validation
2018-08-22 10:18:11 +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
A
17855ae145
Merge pull request #81 from p1c2u/feature/separate-casting-and-validation
...
Separate schema casting and validation
2018-08-17 18:54:35 +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
A
da9838b3ac
Merge pull request #80 from p1c2u/fix/handle-parameter-deserialization-errors
...
Handle parameter deserialization errors
2018-08-17 13:34:41 +01:00
Artur Maciag
b75798aa62
Handle parameter deserialization errors
2018-08-17 13:25:31 +01:00
A
06e80079fe
Merge pull request #79 from grktsh/string-format
...
Support unmarshaling string with format keyword
2018-08-17 11:25:59 +01:00
grktsh
d4f65a2ed2
Support unmarshaling string with format keyword
2018-08-17 13:25:12 +09:00
A
2be6cd2776
Merge branch 'master' into flake8
2018-08-13 20:37:29 +01:00
p1c2u
2487d0e5c1
Dev requirements freeze
2018-08-13 20:36:21 +01: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
6ac82304bf
Switch test requirement to pytest-flake8.
...
Flake8 runs both pyflakes and codestyle. Pep8 was renamed to
and supported as codestyle.
2018-08-07 12:50:19 -06:00