aiohttp-swagger icon indicating copy to clipboard operation
aiohttp-swagger copied to clipboard

When loading swagger_from_file allow host option overridding

Open Natim opened this issue 8 years ago • 1 comments

I would like to automatically change the host value with the current request.headers['Host'] value. Is that possible?

Natim avatar Aug 07 '17 16:08 Natim

Apparently removing the schemes or the host default to using the current host. I guess having an option would allow to load this from the conf, env variables or making it explicit.

Natim avatar Aug 07 '17 16:08 Natim