Support rendering OpenAPI spec (#36449)

Fix #20852
This commit is contained in:
wxiaoguang
2026-01-26 10:34:38 +08:00
committed by GitHub
parent 89bfddc5c2
commit 4c8f6dfa4e
27 changed files with 322 additions and 177 deletions

View File

@@ -29,9 +29,13 @@ body {
margin-right: 0.5rem;
}
.swagger-spec-content {
display: none;
}
@media (prefers-color-scheme: dark) {
body {
background: #1e1e1e;
background: #14171a;
}
.swagger-ui, .swagger-back-link {
filter: invert(88%) hue-rotate(180deg);