Fanfou Wiki

我等采石之人,当心怀建造大教堂之愿景。

用户工具

站点工具


swagger:ui

Swagger UI

<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="utf-8" />
        <title>Swagger UI</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css" />
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.34.0/swagger-ui.min.css" crossorigin="anonymous" />
    </head>
    <body>
        <div id="swagger-ui"></div>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.34.0/swagger-ui-bundle.min.js" crossorigin="anonymous"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.34.0/swagger-ui-standalone-preset.min.js" crossorigin="anonymous"></script>
        <script>
            window.onload = function () {
                window.ui = SwaggerUIBundle({
                    dom_id: "#swagger-ui",
                    deepLinking: true,
                    presets: [SwaggerUIBundle.presets.apis],
                    plugins: [SwaggerUIBundle.plugins.DownloadUrl],
                    validatorUrl: "https://validator.swagger.io/validator",
                    url: "https://petstore.swagger.io/v2/swagger.json",
                });
            };
        </script>
    </body>
</html>
swagger/ui.txt · 最后更改: 2020/12/29 17:17 由 admin