Robbe Sneyders
|
3e52c782eb
|
Use Flask request_ctx instead of _request_ctx_stack (#1583)
* Use Flask request_ctx instead of _request_ctx_stack
* Suppress first party warnings
|
2022-09-07 08:35:34 +02:00 |
|
Robbe Sneyders
|
600ed4ed94
|
Format files with black
|
2022-06-25 23:50:52 +02:00 |
|
Robbe Sneyders
|
4603e0679d
|
Extract security to middleware (#1514)
* Extract security to middleware
* Add MissingMiddleware exception
* Extract add_auth_on_not_found in security middleware
* Add detail kwarg to exceptions
* Return JSONResponse in ExceptionMiddleware
* Type dicts in SecurityMiddleware
* Add trailing comma in setup.py
* Rework connexion context
* Improve error handling for missing security operation
* Refactor default security operation
* Revert "Return JSONResponse in ExceptionMiddleware"
This reverts commit c1004c7500d1be7e0938eea8672325cf15355359.
* Move routing context name into constant
|
2022-04-27 22:20:38 +02:00 |
|
Robbe Sneyders
|
84e33e5897
|
Add routing middleware (#1497)
* Add routing middleware
Factor out starlette BaseHTTPMiddleware
Fix exceptions for starlette < 0.19
Fix docstring formatting
Rename middleware/base.py to abstract.py
Rework routing middleware
* Clean up abstract API docstrings
* Move connexion context into extensions
* Allow empty middleware list
|
2022-04-19 22:55:20 +02:00 |
|