Skip to content

Update index.html

Update index.html #3

Workflow file for this run

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.52.5/swagger-ui.css">
</head>
<body>
<div id="swagger-ui"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.52.5/swagger-ui-bundle.js"></script>
<script>
const ui = SwaggerUIBundle({
url: "YOUR_SWAGGER_JSON_URL", // 替换为您的 Swagger JSON 或 YAML 文件的 URL

Check failure on line 14 in .github/workflows/static.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/static.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
dom_id: '#swagger-ui',
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
layout: "StandaloneLayout"
});
</script>
</body>
</html>