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

Add a way to customize the `SwaggerUIBundle` parameters

Open dzamlo opened this issue 4 years ago • 0 comments

SwaggerUIBundle is called in the static/index.html file. Its parameters are hard codded. I would like to set validatorUrl to null. But right now this is not possible.

It would be useful to add a way to customize the arguments to SwaggerUIBundle. Either via a dict of extra arguments or more simply by allowing to pass a string that will be inserted as-is in the html file after the last argument.

dzamlo avatar Jul 16 '19 16:07 dzamlo