Commit graph

181 commits

Author SHA1 Message Date
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
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
A
d4ada7bcbb
Merge pull request #71 from smarlowucf/encoding
Replace unicode character for RPM build.
2018-08-01 20:53:16 +01:00
A
6626cb5714
Merge pull request #70 from smarlowucf/manifest
Include README and LICENSE files in manifest.
2018-08-01 20:52:59 +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
Sean Marlow
3ee7bdf2fc
Include README and LICENSE files in manifest. 2018-07-31 11:50:41 -06:00
A
3964ea9ecb
Merge pull request #69 from p1c2u/kcem-master
Python2 compatibility module
2018-07-29 00:26:41 +01: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
A
a2ee03fce6
Merge pull request #68 from p1c2u/feature/lazy-schema-references
Lazy schema references
2018-07-28 23:00:46 +01:00
p1c2u
3ab55e44bd Lazy schema references 2018-07-28 22:12:47 +01:00
A
db37be8ac7
Merge pull request #63 from rafaelcaricio/parse-examples
Makes it possible to access API examples
2018-07-28 11:24:23 +01:00