Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiKentPan authored Oct 25, 2024
1 parent 78bf2f1 commit 201a095
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.52.5/swagger-ui-bundle.js"></script>
<script>
const ui = SwaggerUIBundle({
url: "https://github.com/WeiKentPan/MyCinemaApi/blob/main/openapi.yaml", // 替换为您的 Swagger JSON 或 YAML 文件的 URL
dom_id: '#swagger-ui',
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
layout: "StandaloneLayout"
});
url: "https://raw.githubusercontent.com/WeiKentPan/MyCinemaApi/main/openapi.yaml",
dom_id: '#swagger-ui',
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
layout: "StandaloneLayout"
});

</script>
</body>
</html>

0 comments on commit 201a095

Please sign in to comment.