connexion
connexion copied to clipboard
Hide x-bearerInfoFunc from returned spec via a configuration parameter.
Description
Connexion uses x-bearerInfoFunc to reference validating functions
Expected behaviour
A configurable app parameter for hiding this parameter from the served spec
Actual behaviour
The x-bearerInfoFunc is returned into openapi.json
Steps to reproduce
- use x-bearerFunc in a yaml file
- run connexion
- get the spec
curl -kv https://0.0.0.0:8443/hello/v1/openapi.json | egrep x-.*InfoFunc
Additional info:
Output of the commands:
-
python --versionPython 3.6.8 -
pip show connexion | grep "^Version\:"Version: 2.2.0