flask-restx
flask-restx copied to clipboard
Adds config.SWAGGER_PREAUTHORIZEAPIKEY key
Solution proposal for #196
This configuration key is designed to contain a function returning
- False if no preauthorization needed/wanted
- A tuple(authorization_name, key) if preauthorization wanted
The documentation is updated too.
Codecov Report
Merging #197 into master will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #197 +/- ##
=======================================
Coverage 96.92% 96.92%
=======================================
Files 19 19
Lines 2697 2697
=======================================
Hits 2614 2614
Misses 83 83
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 66d884f...7f46e4b. Read the comment docs.