Skip to content

feat: swagger dark skin + Try-it-out host (v2.5.2) - #31

Merged
donkeyx merged 5 commits into
masterfrom
feat/swagger-dark-mode
Aug 10, 2026
Merged

donkeyx merged 5 commits into
masterfrom
feat/swagger-dark-mode

Conversation

@donkeyx

@donkeyx donkeyx commented Aug 10, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Custom dark Swagger skin (donkeyx / terminal flair); ?theme=light for stock
  • Try-it-out host: ?host=&scheme= query (common), SWAGGER_HOST / SWAGGER_SCHEME env, else request Host
  • Info panel shows live target + how it was resolved
  • Docs link to cluster-utils-api + pair toolkit
  • Release v2.5.2

Test plan

  • / dark UI; hard-refresh CSS
  • ?theme=light stock look
  • ?host=…&scheme=… updates Try-it-out + description target
  • SWAGGER_HOST / SWAGGER_SCHEME env defaults
  • Authorize Bearer dev still works

gin-swagger has no theme switch — inject a dark CSS stylesheet into
index.html. Opt out with ?theme=light.
Restyle stock Swagger UI with a custom dark skin (Outfit + JetBrains
Mono, gradient panels, method accents, soft glow). Still CSS-only —
no first-class theme in gin-swagger.
Shell-prompt topbar, phosphor code panels, scan grid, session banner,
and corner tag — still CSS-only on top of stock Swagger UI.
Startup defaults for the public host Swagger calls, so you don't need
?host=&scheme= on every open. Query params still win per request;
otherwise env; otherwise request Host / X-Forwarded-Proto.
Show current scheme://host in the Swagger info panel, with source
(query/env/request) and ?host=&scheme= tip. Bump to 2.5.2, link the
API repo next to the pair toolkit, refresh README/k8s notes.
@donkeyx donkeyx changed the title feat: swagger dark mode feat: swagger dark skin + Try-it-out host (v2.5.2) Aug 10, 2026
@donkeyx
donkeyx merged commit f6e77bf into master Aug 10, 2026

This branch was previously deployed

1 inactive deployment
ci — 1fee9bd0 Deployed Aug 10, 2026 by donkeyx via docker #78
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant