Swagger allows you to add custom CSS to your documentation page. So, I added a CSS to make the theme dark.
I hadn't found a simple way, or not, to add a toggle to change the theme. So I added a new route /api/docs/dark. The original route /api/docs remains the same.
Added documentation page with dark mode.
Swagger allows you to add custom CSS to your documentation page. So, I added a CSS to make the theme dark.
I hadn't found a simple way, or not, to add a toggle to change the theme. So I added a new route
/api/docs/dark
. The original route/api/docs
remains the same.