Commit Graph

41 Commits

Author SHA1 Message Date
John Kleijn
a5f1af62a7 Sensible defaults for controller resolution 2015-12-06 07:55:27 +01:00
Henning Jacobs
b1945399ec #101 test resolving of method and classmethod 2015-12-05 19:39:24 +01:00
Dan Ballance
b2952e8991 Re-factored a little to improve test coverage and also added a test for the scenario where an unsupported collectionFormat is used. 2015-11-11 15:21:39 +00:00
Dan Ballance
fc04ae80c5 Fixed an issue with query parameters not properly handling arrays 2015-11-09 10:59:42 +00:00
João Santos
0f7a3ce9a6 #85 Allow adding headers to problem responses 2015-11-05 11:20:48 +01:00
Dan Ballance
cd83633867 Spec updated to declare correct responses and response validation enabled in test_app.py 2015-11-04 12:38:52 +00:00
Dan Ballance
1389664855 Some work to validate the developer's returned response against what was declared in the swagger specification. 2015-11-01 18:15:34 +00:00
João Santos
6a855a5582 Merge pull request #77 from danballance/return-headers-from-view
Proposed technique for returning custom headers (with simple unit test)
2015-10-29 08:26:50 +01:00
Evan Lezar
8a6670b53e Add some basic unit tests to improve test coverage. 2015-10-28 18:00:03 +01:00
Dan Ballance
630a234e26 Broke test_headers into 2 for better test coverage. 2015-10-28 10:44:10 +00:00
Dan Ballance
a3df241624 Proposed technique for returning custom headers (with simple unit test) 2015-10-27 13:21:29 +00:00
João Santos
31d0f1d218 #69 Include authentication information on request 2015-10-02 08:35:57 +02:00
João Santos
05b53c6838 #66 Handle non object body parameters 2015-09-28 14:19:51 +02:00
João Santos
f0fdfa0a29 #59 Pass query and body parameters as keyword arguments to handler function 2015-09-21 15:53:49 +02:00
Henning Jacobs
6b15a1f40b #48 test required query param 2015-08-26 18:47:36 +02:00
Henning Jacobs
f35dce3bd6 #48 validate integer, number and boolean query parameters 2015-08-26 18:35:57 +02:00
Henning Jacobs
4759a0c28f #48 add basic query parameter validation (only for strings and "required") 2015-08-26 15:51:16 +02:00
Henning Jacobs
72bcad0362 #48 add a simple test to expect bad request 2015-08-26 15:32:27 +02:00
Henning Jacobs
16cb78f2e8 use connexion pool for OAuth token info 2015-08-05 16:38:57 +02:00
João Santos
e27cc060b4 https://github.com/zalando/connexion/issues/33 support python 2.7 2015-07-29 16:55:09 +02:00
João Santos
edf8390b8a https://github.com/zalando/connexion/issues/20 Allow adding single routes 2015-07-29 16:53:25 +02:00
Henning Jacobs
5e5cff6c56 validate date-time format 2015-07-20 20:11:17 +02:00
João Santos
f5ef93bd2f https://github.com/zalando/connexion/issues/32 Reduce code repetition 2015-07-13 15:46:34 +02:00
João Santos
6d5297fbe0 https://github.com/zalando/connexion/issues/32 Improve unit tests coverage 2015-07-13 15:22:40 +02:00
João Santos
0e3131e48a https://github.com/zalando/connexion/issues/32 Add more details to security decorator and fix http code for lack of scopes 2015-07-13 11:08:27 +02:00
João Santos
66bd343ae7 https://github.com/zalando/connexion/issues/32 Fixed error messages 2015-07-13 09:01:49 +02:00
João Santos
341439d4ad https://github.com/zalando/connexion/issues/32 Test for right content type 2015-07-13 08:24:22 +02:00
João Santos
38ee35c05b https://github.com/zalando/connexion/issues/4 Add unit tests 2015-07-07 14:04:20 +02:00
João Santos
e62f7d5975 https://github.com/zalando/connexion/issues/24 Handle 204 2015-06-29 11:57:10 +02:00
João Santos
149671c606 https://github.com/zalando/connexion/issues/18 make swagger ui optional 2015-06-25 15:24:47 +02:00
João Santos
e04d676b69 https://github.com/zalando/connexion/issues/18 let's do tdd 2015-06-25 15:20:05 +02:00
João Santos
c24cf4d0ac https://github.com/zalando/connexion/issues/10 Simplify endpoint's decorator handling 2015-06-18 11:18:08 +02:00
João Santos
2443260838 https://github.com/zalando/connexion/issues/10 Recognize all json mimetypes 2015-06-18 09:23:53 +02:00
João Santos
485238eb91 https://github.com/zalando/connexion/issues/11 Problem function 2015-06-17 14:54:16 +02:00
João Santos
7321299759 https://github.com/zalando/connexion/issues/11 Use application/problem for errors 2015-06-17 11:47:52 +02:00
João Santos
3b245682b8 https://github.com/zalando/connexion/issues/9 Default produces decorator 2015-06-17 10:53:23 +02:00
João Santos
012cedf3f4 https://github.com/zalando/connexion/issues/8 Custom jsonifier 2015-06-17 08:59:20 +02:00
João Santos
bd034b7425 https://github.com/zalando/connexion/issues/6 Test security 2015-06-13 17:20:30 +02:00
João Santos
423ca76aa4 https://github.com/zalando/connexion/issues/6 Test non json responses 2015-06-13 14:35:46 +02:00
João Santos
9036d23168 https://github.com/zalando/connexion/issues/6 Remove icon content type because it can vary by system 2015-06-13 14:26:49 +02:00
João Santos
9e42b5a930 https://github.com/zalando/connexion/issues/6 Test app 2015-06-13 14:24:19 +02:00