Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Grossmann-Kavanagh
5bc8a788aa fix 500 in sqlalchemy example (#581) 2018-04-27 08:13:30 +02:00
Diogo
5857dd237f Uncouple all flask functions from base code.
removed test_decorators and test_parameter (this test is useless now);
removed the request/response containers and add new request response classes;
created a abstract api class and a api flask class;
derived classes will implements the get_response/get_request methods that will convert framework req/resp types to connexion req/resp types;
moved the jsonifier from produces to flask api;
created a abstract app class and a app flask class;
changed all validators to use the ConnexionRequest instead flask request;
changed the problem function to generate a ConnexionRequest;
created a new user variables container called context (this is a property of ConnexionRequest). this will be passed as kwargs to all operations functions;
this context is used on authentication;
fixed all tests to new API;
some changes that I did may not be documented in this commit.
2017-04-04 08:20:24 -03:00
Diogo Dutra
a7af62fbf0 Uncouple flask from App and Api. Created Abstract classes for theses modules. Fixed the tests 2017-04-04 08:20:23 -03:00
Rafael Caricio
d9b59c65ac Fix imports 2016-09-13 22:44:15 +02:00
Jens Finkhaeuser
74cec244b4 Fixes after running & fixing TOXENV=isort-check tox 2016-09-13 16:24:28 +02:00
Jens Finkhaeuser
6476c033d2 Fix isort errors 2016-09-13 16:03:57 +02:00
Henning Jacobs
a30681992f fix flake8 formatting of SQLAlchemy example 2016-06-03 23:52:45 +02:00
Nicola Musatti
7ba69e611b Sorted imports with isort. 2016-06-03 22:55:25 +02:00
Nicola Musatti
1a167ff212 SQLAlchemy example first import. 2016-06-03 00:24:15 +02:00