Commit graph

243 commits

Author SHA1 Message Date
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
Artur Maciag
05148b8acd b64decode issue29427 fix 2020-03-03 12:11:24 +00:00
Artur Maciag
7e920f8290 Requests integration 2020-03-03 11:09:28 +00:00
Artur Maciag
dcb7161af7 Path pattern finder 2020-03-02 11:26:54 +00:00
Artur Maciag
817ff5c746 Move path finder to separate templating module 2020-02-25 10:57:46 +00:00
Artur Maciag
8539d9b0f4 Base validator class 2020-02-25 10:23:14 +00:00
Artur Maciag
24276bf37a Unify find path method of request validator 2020-02-25 09:08:30 +00:00
Artur Maciag
18944893f7 Version 0.13.2 2020-02-24 10:00:28 +00:00
Artur Maciag
35da0289c1 Version 0.13.1 2020-02-18 12:06:23 +00:00
A
01e04ff0cb
Merge pull request #200 from p1c2u/fix/validators-shortcuts-fix
Validators shortcuts fix
2020-02-18 12:04:53 +00:00
Artur Maciag
3ca531a485 Validators shortcuts fix 2020-02-18 11:57:15 +00:00
Artur Maciag
15e9c28175 Flask error handler status fix 2020-02-18 11:51:42 +00:00
Artur Maciag
912f0afc7a Version 0.13.0 2020-02-17 16:46:25 +00:00
Artur Maciag
1bea6013c3 Property read-only and write-only support 2020-02-17 12:42:13 +00:00
Pedro Peixoto
975ac0d7c9 Updating unmarshal and validation methods' signatures to propagate the context until reaching the properties. 2020-02-17 12:25:44 +00:00
Pedro Peixoto
8260426b91 Creating a decorator that warns the developer whenever he fails to set a context. 2020-02-17 12:23:40 +00:00
Pedro Peixoto
aa95bc5d02 Providing a context whenever unmarshalling objects on Request and Responses
(readOnly and writeOnly applies on to properties)
2020-02-17 12:17:44 +00:00
Pedro Peixoto
ca369f795a Creating read_only and write_only properties on the Schema 2020-02-17 12:14:46 +00:00
Artur Maciag
e0d61c8f11 OpenAPI request datatype refactor 2020-02-11 14:54:36 +00:00
Artur Maciag
aa7ed31acd Missing path model fields 2020-02-07 11:21:11 +00:00
Artur Maciag
fde1b6bdc5 Security providers and security models retouch 2020-02-04 13:58:42 +00:00
Artur Maciag
4ae5a085a3 Security HTTP scheme type support 2020-02-04 11:14:51 +00:00
p1c2u
d915f23414 Security validation with Api Key support 2020-02-04 11:06:52 +00:00
p1c2u
75643da1af Free-form objects unmarshal 2020-02-03 20:58:27 +00:00
p1c2u
d4ac0978d5 Missing Info models 2020-02-03 19:50:21 +00:00