Description
Is your feature request related to a problem? Please describe.
I've recently wanted to use Connexion's feature that validates responses according to API schema. Then found that parameters described in config.yml
docs are ALL that can be used and there seem to be absolutely no way of passing any additional value to the API.
Describe the solution you'd like
Either there should be additional settings available in config.yml
or at least some kind of a callback that could be overriden to easily pass additional parameters to API constructor. Maybe a mapping CUSTOM_OPTIONS
or similar that would just be passed as unpacked kwargs to add_api
? Even if not, there aren't that many parameters supporrted by this method so possibly all of them could be moved to config.yml
.
Describe alternatives you've considered
Currently end user needs to basically copy whole init_app
of the Swagger service - and who knows how much of the Microservice class to support custom service.