Rafael Caricio
ccce2f85fe
Pass along exceptions related to user mistakes
2016-09-13 12:00:41 +02:00
Rafael Caricio
3f33a54ec3
Fix tests path from fixtures
2016-09-13 11:46:59 +02:00
Jens Finkhaeuser
6697dc334f
Makes sure #250 is still working. This explicitly handles ImportError
...
and re-raises its exception information if exceptions relating to
name resolution are raised at all.
It still converts the meaningless ValueError and AttributeError into a
ResolverError.
2016-09-07 15:16:59 +02:00
Jens Finkhaeuser
255e419572
Move ResolverError over to exceptions where it seems to be long.
2016-09-07 13:08:04 +02:00
Jens Finkhaeuser
c6cc024b1e
Improve Api test cases
2016-09-07 12:41:59 +02:00
Jens Finkhaeuser
b321626c4c
Obviously, ImportError no longer falls through. That should have been
...
part of the PR earlier.
2016-09-07 10:47:32 +02:00
Jens Finkhaeuser
ee86744046
Add test cases for missing and bad operationIds - slightly different from
...
the module with error case, but the result should be the same.
2016-09-07 10:07:46 +02:00
Rafael Caricio
0ac6721f4e
Comprehensive error on invalid Swagger Spec
2016-06-28 10:47:39 +02:00
Rafael Caricio
cfcdfa72a4
Use safe_load to avoid code invocation from YAML files
2016-06-28 10:43:02 +02:00
Rafael Caricio
d7a8880378
Sort imports
2016-06-25 21:32:57 +02:00
Rafael Caricio
98e99ed9e3
Opens spec file as binary and then handle problems with encoding.
...
Should fix issue #249 .
2016-06-25 20:32:43 +02:00
David Hotham
851d04372e
isort imports
2016-06-10 20:39:51 +01:00
João Santos
87afbfe6eb
#218 Raise import errors on endpoint handling
2016-06-08 15:11:06 +02:00
Rafael Caricio
415a1e8a60
Fix isort issues
2016-05-10 14:54:14 +02:00
Rafael Caricio
637d6efb27
Fix #220 Defer user error handing for swagger spec validator
2016-05-10 11:51:43 +02:00
Rafael Caricio
c30bdbb324
Fix import sorting in examples and tests
2016-04-08 14:33:27 +02:00
Rafael Caricio
a86b96c5e2
Sort imports in tests and examples
2016-04-08 14:33:27 +02:00
Rafael Caricio
6358c8c47d
Adopt isort to ensure better code quality
2016-04-08 14:33:27 +02:00
Rafael Caricio
b60646e047
Reorganizing tests
2016-02-25 14:49:19 +01:00
Rafael Caricio
743feb133b
Use debug flag to decide how to handle errors in API spec
2016-02-24 13:16:32 +01:00
Rafael Caricio
18492d6852
App breaks if error adding operation
2016-02-23 18:17:38 +01:00
John Kleijn
5fe88cba08
Addressed overlapping method names problem and removed main module as default
2015-12-06 10:32:06 +01:00
João Santos
6a106edc34
https://github.com/zalando/connexion/issues/6 Test api
2015-06-13 12:37:31 +02:00