Skip to content

Commit

Permalink
chore: change swagger ui (#18005)
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle authored Oct 19, 2023
1 parent f167c78 commit 31e180c
Show file tree
Hide file tree
Showing 11 changed files with 3,900 additions and 150 deletions.
Binary file removed client/docs/swagger-ui/favicon-16x16.png
Binary file not shown.
Binary file removed client/docs/swagger-ui/favicon-32x32.png
Binary file not shown.
61 changes: 5 additions & 56 deletions client/docs/swagger-ui/index.html
Original file line number Diff line number Diff line change
@@ -1,61 +1,10 @@
<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
<!doctype html> <!-- Important: must specify -->
<html>
<head>
<meta charset="UTF-8">
<title>Swagger UI</title>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" />
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
<style>
html
{
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}

*,
*:before,
*:after
{
box-sizing: inherit;
}

body
{
margin:0;
background: #fafafa;
}
</style>
<meta charset="utf-8"> <!-- Important: rapi-doc uses utf8 characters -->
<script type="module" src="rapidoc-min.js"></script>
</head>

<body>
<div id="swagger-ui"></div>

<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"> </script>
<script>
window.onload = function() {
// Begin Swagger UI call region
const ui = SwaggerUIBundle({
url: "./swagger.yaml",
dom_id: '#swagger-ui',
deepLinking: true,
queryConfigEnabled: false,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
});
// End Swagger UI call region

window.ui = ui;
};
</script>
<rapi-doc spec-url = "swagger.yaml"> </rapi-doc>
</body>
</html>
75 changes: 0 additions & 75 deletions client/docs/swagger-ui/oauth2-redirect.html

This file was deleted.

3,895 changes: 3,895 additions & 0 deletions client/docs/swagger-ui/rapidoc-min.js

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions client/docs/swagger-ui/swagger-ui-bundle.js

This file was deleted.

3 changes: 0 additions & 3 deletions client/docs/swagger-ui/swagger-ui-es-bundle-core.js

This file was deleted.

3 changes: 0 additions & 3 deletions client/docs/swagger-ui/swagger-ui-es-bundle.js

This file was deleted.

3 changes: 0 additions & 3 deletions client/docs/swagger-ui/swagger-ui-standalone-preset.js

This file was deleted.

4 changes: 0 additions & 4 deletions client/docs/swagger-ui/swagger-ui.css

This file was deleted.

3 changes: 0 additions & 3 deletions client/docs/swagger-ui/swagger-ui.js

This file was deleted.

0 comments on commit 31e180c

Please sign in to comment.