Add HTTP /v1 MVC, TCP send path, groups with server-side member-avatar collage, object-storage upload, and friends/favorites around the architecture-v3 layout. Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
1010 B
HTML
27 lines
1010 B
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<title>Spark IM API</title>
|
|
<link rel="stylesheet" href="https://unpkg.com/swagger-ui-dist@5.17.14/swagger-ui.css"/>
|
|
<style>body { margin: 0; } .offline { font-family: sans-serif; padding: 16px; }</style>
|
|
</head>
|
|
<body>
|
|
<div id="swagger-ui"></div>
|
|
<noscript>
|
|
<div class="offline">JavaScript 未开启。请直接打开 <a href="/openapi.yaml">/openapi.yaml</a>。</div>
|
|
</noscript>
|
|
<script src="https://unpkg.com/swagger-ui-dist@5.17.14/swagger-ui-bundle.js"></script>
|
|
<script>
|
|
window.onload = function () {
|
|
if (window.SwaggerUIBundle) {
|
|
window.SwaggerUIBundle({ url: "/openapi.yaml", dom_id: "#swagger-ui", presets: [SwaggerUIBundle.presets.apis] });
|
|
return;
|
|
}
|
|
document.getElementById("swagger-ui").innerHTML =
|
|
'<div class="offline">Swagger UI 未加载(无外网时)。规范文件:<a href="/openapi.yaml">/openapi.yaml</a></div>';
|
|
};
|
|
</script>
|
|
</body>
|
|
</html>
|