Commit graph

14 commits

Author SHA1 Message Date
Justin Godesky
6600f0c3e1
ArrayUnmarshaller return None on nullable 2021-01-12 20:14:46 -05:00
p1c2u
f6ba057fd2 Revert "Merge pull request #243 from Beirdo/master"
This reverts commit 1583454b56, reversing
changes made to 8bbdb5931b.
2020-07-20 14:58:05 +01:00
Gavin Hurlbut
72d21a253c
Merge pull request #1 from p1c2u/master
Merge from upstream
2020-04-19 23:11:16 -07:00
Gavin Hurlbut
7993de894e Small change to Schema model to allow generated specs to be picklable
- overriding __dict__ is death for pickling.   I renamed it to __newdict__
  and tweaked the one user of it, and now this part of the structure is
  working fine for pickling
- there are also upstream changes in jsonschema that need to be in for the
  overall success
- this allows me to create the API spec from a swagger file once (which takes
  2-20s for the files I'm working with), and cache the result as a pickle file
  for loading on the next startup (assuming the swagger file hasn't been
  updated).  The load from pickle files takes 2-5ms.  This is an improvement
  of load time by 3 orders of magnitude.
2020-04-19 13:08:07 -07:00
A
97ec8c7967
Merge pull request #237 from p1c2u/fix/date-time-format-unmarshal-tz-fix
Date-time format unmarshal  tz fix
2020-04-12 16:19:54 +01:00
p1c2u
7307794656 Unmarshalling nullable objects 2020-04-12 14:59:22 +01:00
p1c2u
dc8bd4d335 Date-time format unmarshal tz fix 2020-04-11 19:09:49 +01:00
p1c2u
e817973435 Use openapi-schema-validator library 2020-03-05 11:28:21 +00:00
Artur Maciag
1bea6013c3 Property read-only and write-only support 2020-02-17 12:42:13 +00:00
p1c2u
75643da1af Free-form objects unmarshal 2020-02-03 20:58:27 +00:00
p1c2u
61fb830ac2 Get rid of unmarshal in schema 2020-02-03 01:30:25 +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
b026fb2151 Move Unmarshallers to separate subpackage 2020-01-23 18:30:31 +00:00