285 lines
6.5 KiB
HTML
285 lines
6.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>tv.bug.tools api</title>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css" />
|
|
<style>
|
|
html { box-sizing: border-box; }
|
|
*, *:before, *:after { box-sizing: inherit; }
|
|
body { margin: 0; background: #fafafa; }
|
|
#fallback { font-family: monospace; padding: 2rem; white-space: pre-wrap; }
|
|
.swagger-ui .topbar,
|
|
.swagger-ui .search { display: none !important; }
|
|
|
|
:root {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
body {
|
|
background: #1e1e2e;
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui {
|
|
color: #cdd6f4;
|
|
background: transparent;
|
|
}
|
|
|
|
.swagger-ui .topbar {
|
|
background: #181825;
|
|
border-bottom: 1px solid #585b70;
|
|
}
|
|
|
|
.swagger-ui .topbar .download-url-wrapper .select-label {
|
|
color: #a6adc8;
|
|
}
|
|
|
|
.swagger-ui .topbar .download-url-wrapper input[type="text"] {
|
|
background: #45475a;
|
|
border: 1px solid #585b70;
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .info,
|
|
.swagger-ui .info .title,
|
|
.swagger-ui .info h1,
|
|
.swagger-ui .info h2,
|
|
.swagger-ui .info h3,
|
|
.swagger-ui .info h4,
|
|
.swagger-ui .info h5 {
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .info .description,
|
|
.swagger-ui .info p,
|
|
.swagger-ui .info li,
|
|
.swagger-ui .info .base-url {
|
|
color: #a6adc8;
|
|
}
|
|
|
|
.swagger-ui .scheme-container {
|
|
background: #313244;
|
|
box-shadow: none;
|
|
border: 1px solid #585b70;
|
|
}
|
|
|
|
.swagger-ui .filter .operation-filter-input {
|
|
border: 1px solid #585b70;
|
|
background: #45475a;
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .opblock-tag {
|
|
color: #cdd6f4;
|
|
border-bottom: 1px solid #585b70;
|
|
}
|
|
|
|
.swagger-ui .opblock-tag small {
|
|
color: #a6adc8;
|
|
}
|
|
|
|
.swagger-ui .opblock {
|
|
border: 1px solid #585b70;
|
|
background: #313244;
|
|
border-radius: 6px;
|
|
margin: 0 0 12px;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.swagger-ui .opblock .opblock-summary {
|
|
border-color: #585b70;
|
|
}
|
|
|
|
.swagger-ui .opblock .opblock-summary-method {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
font-weight: 600;
|
|
min-width: 72px;
|
|
}
|
|
|
|
.swagger-ui .opblock.opblock-get .opblock-summary-method {
|
|
background: #89b4fa;
|
|
color: #11111b;
|
|
}
|
|
|
|
.swagger-ui .opblock.opblock-post .opblock-summary-method {
|
|
background: #a6e3a1;
|
|
color: #11111b;
|
|
}
|
|
|
|
.swagger-ui .opblock.opblock-put .opblock-summary-method {
|
|
background: #fab387;
|
|
color: #11111b;
|
|
}
|
|
|
|
.swagger-ui .opblock.opblock-patch .opblock-summary-method {
|
|
background: #cba6f7;
|
|
color: #11111b;
|
|
}
|
|
|
|
.swagger-ui .opblock.opblock-delete .opblock-summary-method {
|
|
background: #f38ba8;
|
|
color: #11111b;
|
|
}
|
|
|
|
.swagger-ui .opblock .opblock-summary-path,
|
|
.swagger-ui .opblock .opblock-summary-description {
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .opblock-body {
|
|
background: #181825;
|
|
border-top: 1px solid #585b70;
|
|
}
|
|
|
|
.swagger-ui .opblock-description-wrapper p,
|
|
.swagger-ui .opblock-description-wrapper,
|
|
.swagger-ui .parameter__name,
|
|
.swagger-ui .parameter__type,
|
|
.swagger-ui label {
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .parameter__extension,
|
|
.swagger-ui .parameter__in {
|
|
color: #a6adc8;
|
|
}
|
|
|
|
.swagger-ui input[type="text"],
|
|
.swagger-ui input[type="password"],
|
|
.swagger-ui input[type="search"],
|
|
.swagger-ui input[type="email"],
|
|
.swagger-ui textarea,
|
|
.swagger-ui select {
|
|
background: #45475a;
|
|
border: 1px solid #585b70;
|
|
color: #cdd6f4;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.swagger-ui input[type="text"]:focus,
|
|
.swagger-ui textarea:focus,
|
|
.swagger-ui select:focus {
|
|
outline: 2px solid #89b4fa;
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
.swagger-ui .btn {
|
|
border-radius: 4px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
}
|
|
|
|
.swagger-ui .btn.cancel {
|
|
background: #45475a;
|
|
border-color: #585b70;
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .btn.execute {
|
|
background: #89b4fa;
|
|
border-color: #89b4fa;
|
|
color: #11111b;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.swagger-ui .btn.execute:hover {
|
|
filter: brightness(1.08);
|
|
}
|
|
|
|
.swagger-ui .responses-inner h4,
|
|
.swagger-ui .responses-inner h5,
|
|
.swagger-ui .tab li {
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .response-col_status,
|
|
.swagger-ui .response-col_links {
|
|
color: #a6adc8;
|
|
}
|
|
|
|
.swagger-ui table thead tr th,
|
|
.swagger-ui table thead tr td {
|
|
background: #45475a;
|
|
border-bottom: 1px solid #585b70;
|
|
color: #cdd6f4;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
}
|
|
|
|
.swagger-ui table tbody tr td {
|
|
border-bottom: 1px solid #585b70;
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .model-box,
|
|
.swagger-ui .model,
|
|
.swagger-ui .renderedMarkdown code,
|
|
.swagger-ui .microlight,
|
|
.swagger-ui .highlight-code pre {
|
|
background: #11111b;
|
|
color: #cdd6f4;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
|
|
border: 1px solid #585b70;
|
|
}
|
|
|
|
.swagger-ui .prop-type,
|
|
.swagger-ui .prop-format {
|
|
color: #94e2d5;
|
|
}
|
|
|
|
.swagger-ui .model-title,
|
|
.swagger-ui .model-hint {
|
|
color: #a6adc8;
|
|
}
|
|
|
|
.swagger-ui section.models {
|
|
border: 1px solid #585b70;
|
|
background: #313244;
|
|
}
|
|
|
|
.swagger-ui section.models.is-open h4 {
|
|
border-bottom: 1px solid #585b70;
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .dialog-ux .modal-ux {
|
|
background: #181825;
|
|
border: 1px solid #585b70;
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .dialog-ux .modal-ux-header h3 {
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .errors-wrapper {
|
|
background: rgba(243, 139, 168, 0.12);
|
|
border: 1px solid #f38ba8;
|
|
color: #cdd6f4;
|
|
}
|
|
|
|
.swagger-ui .loading-container .loading::after {
|
|
color: #94e2d5;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="swagger-ui"></div>
|
|
<script src="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui-bundle.js"></script>
|
|
<script>
|
|
window.addEventListener('load', function () {
|
|
var ui = SwaggerUIBundle({
|
|
url: '/api.json',
|
|
dom_id: '#swagger-ui',
|
|
deepLinking: true,
|
|
defaultModelsExpandDepth: -1,
|
|
presets: [SwaggerUIBundle.presets.apis],
|
|
layout: 'BaseLayout',
|
|
requestInterceptor: function (req) { return req; },
|
|
});
|
|
window.ui = ui;
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|