cr0hn / aiohttp-swagger

Swagger API Documentation builder for aiohttp server
http://aiohttp-swagger.readthedocs.io/en/latest/
Other
186 stars 81 forks source link

Added custom theme support and an example #98

Open rickycorte opened 3 years ago

rickycorte commented 3 years ago

The change is really trivial (just a couple of lines) and allows to point to an arbitrary directory that contains a custom swagger theme. Instead of loading the files provided in either aiohttp_swagger/swagger_ui and aiohttp_swagger/swagger_ui3 you can use an external directory.

I have included an example with a custom theme without the top bar.