Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:

publish:
name: Publish GitHub pages
if: github.ref == 'refs/heads/main' || contains(github.ref, 'tags/v')
runs-on: ubuntu-latest
needs: [ validate ]
steps:
Expand Down
44 changes: 22 additions & 22 deletions core-api/rest/swagger-ui/index.html
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
<!-- HTML for static distribution bundle build -->
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="UTF-8">
<title>Remote Two/3 Core OpenAPI</title>
<!-- Get latest Swagger UI code and style from npm: https://unpkg.com/swagger-ui-dist@4/ -->
<!-- Get latest Swagger UI code and style from npm: https://unpkg.com/swagger-ui-dist@5/ -->
<script src="./swagger-ui-bundle.js" charset="UTF-8"> </script>
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" />
<link rel="stylesheet" type="text/css" href="index.css" />
<link rel="icon" href="./favicon.ico" />
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16" />
</head>
</head>

<body>
<div id="swagger-ui"></div>
<script>
window.onload = function () {
const ui = SwaggerUIBundle({
<body>
<div id="swagger-ui"></div>
<script>
window.onload = function () {
const ui = SwaggerUIBundle({
url: "UCR-core-openapi.yaml",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIBundle.SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
})
window.ui = ui
}
</script>
</body>
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIBundle.SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
})
window.ui = ui
}
</script>
</body>
</html>
2 changes: 1 addition & 1 deletion core-api/rest/swagger-ui/swagger-ui-bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core-api/rest/swagger-ui/swagger-ui.css

Large diffs are not rendered by default.

Loading