Aren't Redocly and Swagger UI open-source too?
Also, I highly appreciate redoclys starter template which tackles more serious topic about developing API first with reusable components instead of writing everything in one big file is is nightmare.
Very customizable in my experience (working with it with .NET SwaggerGen tooling).