Newer
Older
web-services / www-home / index.html
@Nicolas Thouvenin Nicolas Thouvenin on 30 Aug 1 KB new automatic publishing system
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="UTF-8">
    <title>OpenAPI - Web Services Inist-CNRS</title>
    <link rel="stylesheet" type="text/css" href="./swagger-ui@4.15.5/swagger-ui.css">
</head>

<body>

    <div id="swagger-ui"></div>
    <script src="./swagger-ui@4.15.5/swagger-ui-standalone-preset.js"></script>
    <script src="./swagger-ui@4.15.5/swagger-ui-bundle.js"></script>

    <script>
        window.onload = function () {
            // Build a system
            const ui = SwaggerUIBundle({
                urls: [
                  // use make publish
                    ],
                queryConfigEnabled: true,
                dom_id: '#swagger-ui',
                deepLinking: true,
                presets: [
                    SwaggerUIBundle.presets.apis,
                    SwaggerUIStandalonePreset
                ],
                plugins: [
                    SwaggerUIBundle.plugins.DownloadUrl
                ],
                layout: "StandaloneLayout",
            })
            window.ui = ui
        }
    </script>
</body>

</html>