Commit graph

267 commits

Author SHA1 Message Date
p1c2u
601f6090a7 Response finder 2021-03-31 16:17:40 +01:00
Jon Parise
4c725af0ba Add extensions support for the Parameter model
Extensions are allowed on Parameter objects, per the spec:

> This object MAY be extended with Specification Extensions.

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#parameterObject
2021-03-30 16:10:35 -07:00
p1c2u
841e999710 Media type finder 2021-03-30 14:30:03 +01:00
p1c2u
c900f63e7d Schema content refactor 2 2021-03-30 12:37:01 +01:00
p1c2u
e128fd59f1 Schema content refactor 2021-03-30 11:45:45 +01:00
p1c2u
5f62c62937 deserialize data form media type py27 2021-03-30 09:28:14 +01:00
p1c2u
852c081068 deserialize data form media type 2021-03-24 21:35:39 +00:00
A
7a83f019c5
Merge pull request #302 from p1c2u/feature/media-type-deserialize-form-urlencoded
media type deserialize form urlencoded
2021-03-24 20:40:40 +00:00
p1c2u
74920a77de media type deserialize form urlencoded 2021-03-24 20:32:12 +00:00
p1c2u
ff4a6c81ee requests request typing fix 2021-03-24 13:33:53 +00:00
p1c2u
f316b81ba3 use prepared request tests 2021-03-24 13:29:12 +00:00
Elisha Yadgaran
5a91425c68 use prepared request to format payload before converting 2021-03-24 13:29:12 +00:00
p1c2u
8eb380ff37 Version 0.13.7 2021-02-15 12:22:54 +00:00
p1c2u
abfd0c67be Any unmarshaller validate fix 2021-02-15 11:58:16 +00:00
p1c2u
90355f87dd Format checker on validation scope 2021-02-13 01:10:16 +00:00
p1c2u
a16162ffa0 Format checker deepcopy to shallowcopy 2021-02-12 23:58:30 +00:00
p1c2u
accd9cf48b Spec validation customization 2021-02-12 23:41:01 +00:00
p1c2u
3719092c36 Version 0.13.6 2021-02-09 22:18:21 +00:00
p1c2u
95af36994e AnyUnmarshaller use allOf schemas 2021-02-08 22:55:45 +00:00
p1c2u
dcec29b1aa Remove security on operation level fix 2021-02-02 12:58:31 +00:00
p1c2u
4c2386f5d4 Version 0.13.5 2021-02-01 22:13:19 +00:00
A
c309089efc
Merge pull request #276 from jgod/master
ArrayUnmarshaller: return None on nullable type instead of "NoneType object is not iterable" crash
2021-02-01 20:59:57 +00:00
p1c2u
efc8dc3240 path finder comment line too long fix 2021-01-31 12:37:14 +00:00
Justin Godesky
6600f0c3e1
ArrayUnmarshaller return None on nullable 2021-01-12 20:14:46 -05:00
Sebastian Mainberger
44d3fd3927 Bug: Prioritize concrete paths over template paths. 2020-12-08 12:44:53 -08:00
p1c2u
0aeb14477b Version 0.13.4 2020-07-20 15:04:40 +01: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
A
1583454b56
Merge pull request #243 from Beirdo/master
Small change to Schema model to allow generated specs to be picklable
2020-07-20 14:53:01 +01:00
A
97b568dc55
Merge pull request #233 from dlarrick/falcon-params
Fix the Falcon integration to properly handle URLs with query strings.
2020-05-10 15:37:43 +01:00
p1c2u
aeca7775fd Templating parser path parameter search fix 2020-04-23 09:01:46 +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
A
1270d5a6b9
Merge pull request #225 from p1c2u/fix/security-http-provider-fix
Security HTTP provider fix
2020-04-11 13:10:33 +01:00
p1c2u
ac5c6762d8 Case insensitive headers fix 2020-04-11 10:47:36 +01:00
Doug Larrick
9b9e5d3df9 Fix the Falcon integration to properly handle URLs with query strings.
Bring main README up to date for current falcon
2020-04-06 16:10:23 -04:00
Ales Jirasek
d79ad01e2f
Update responses.py 2020-03-25 12:29:53 +01:00
p1c2u
e2ae4f35d0 Security HTTP provider fix 2020-03-23 14:09:46 +00:00
p1c2u
9c22ddf01c Paths finder paths order fix 2020-03-23 11:28:56 +00:00
p1c2u
187b3d669b Version 0.13.3 2020-03-11 12:02:06 +00:00
Artur Maciag
9baea54920 Falcon integration 2020-03-11 10:44:30 +00:00
Artur Maciag
09f87a9967 Falcon contrib 2020-03-10 10:45:53 +00:00
Lars de Ridder
db80167a79 Support for falcon-jsonify 2020-03-10 10:45:53 +00:00
Lars de Ridder
ab3372906b Make query params into multidict 2020-03-10 10:45:53 +00:00
Lars de Ridder
fa35d4a5f9 Added __init__.py 2020-03-10 10:45:53 +00:00
Lars de Ridder
58b98205c7 Falcon OpenAPI request and response factories 2020-03-10 10:45:53 +00:00
p1c2u
e817973435 Use openapi-schema-validator library 2020-03-05 11:28:21 +00:00
Artur Maciag
c0b9916dc8 Extensible schema models 2020-03-04 00:03:48 +00:00