v0.5.11: убраны синие линии, поправлено описание задержки
This commit is contained in:
@@ -80,7 +80,7 @@ SERVICES = _DF["SERVICES"]
|
||||
OPS_INDEX = _DF["OPS_INDEX"]
|
||||
|
||||
DELAY = float(os.getenv("MOCK_OP_DELAY", "0.1"))
|
||||
VERSION = "0.5.10"
|
||||
VERSION = "0.5.11"
|
||||
|
||||
|
||||
def get_services(stand_id):
|
||||
|
||||
@@ -37,7 +37,6 @@ body {
|
||||
/* ── Header ── */
|
||||
.header {
|
||||
background: var(--bg);
|
||||
border-bottom: 4px solid var(--brand-primary);
|
||||
padding: 16px 24px 12px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
@@ -129,10 +129,8 @@ curl -s -X POST {{ endpoint }}/{% if stands_list|length > 1 %}{{ current_stand }
|
||||
<pre class="code-block"><code># Сделать операции мгновенными
|
||||
curl -s -X POST {{ endpoint }}/{% if stands_list|length > 1 %}{{ current_stand }}/{% endif %}api/v1/svc/_mock/delay/0
|
||||
|
||||
# Поставить задержку 3 секунды
|
||||
curl -s -X POST {{ endpoint }}/{% if stands_list|length > 1 %}{{ current_stand }}/{% endif %}api/v1/svc/_mock/delay/3
|
||||
|
||||
# Максимум — 5 секунд (защита healthcheck'а)</code></pre>
|
||||
# Поставить задержку 3 секунды (эмуляция долгой операции)
|
||||
curl -s -X POST {{ endpoint }}/{% if stands_list|length > 1 %}{{ current_stand }}/{% endif %}api/v1/svc/_mock/delay/3</code></pre>
|
||||
</div>
|
||||
|
||||
<div class="feature-item">
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
/* Nubes-брендированный topbar */
|
||||
.swagger-ui .topbar {
|
||||
background: #fff;
|
||||
border-bottom: 4px solid #2563eb;
|
||||
padding: 10px 0;
|
||||
}
|
||||
.swagger-ui .topbar .wrapper {
|
||||
|
||||
Reference in New Issue
Block a user