Skip to content

Commit 8489f78

Browse files
committed
Add missing v2 configs for swagger UI
1 parent 04ff13f commit 8489f78

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
window.onload = function () {
2+
window.ui = SwaggerUIBundle({
3+
url: 'https://raw.githubusercontent.com/GetStream/protocol/main/openapi/v2/chat-serverside-api.yaml',
4+
dom_id: '#swagger-ui',
5+
deepLinking: true,
6+
presets: [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset],
7+
plugins: [SwaggerUIBundle.plugins.DownloadUrl],
8+
layout: 'StandaloneLayout',
9+
});
10+
};

docs/dist/swagger-initializer_moderation_v2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
window.onload = function () {
22
window.ui = SwaggerUIBundle({
3-
url: 'https://raw.githubusercontent.com/GetStream/protocol/main/openapi/moderation-serverside-api.yaml',
3+
url: 'https://raw.githubusercontent.com/GetStream/protocol/main/openapi/v2/moderation-serverside-api.yaml',
44
dom_id: '#swagger-ui',
55
deepLinking: true,
66
presets: [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset],
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
window.onload = function () {
2+
window.ui = SwaggerUIBundle({
3+
url: 'https://raw.githubusercontent.com/GetStream/protocol/main/openapi/v2/video-serverside-api.yaml',
4+
dom_id: '#swagger-ui',
5+
deepLinking: true,
6+
presets: [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset],
7+
plugins: [SwaggerUIBundle.plugins.DownloadUrl],
8+
layout: 'StandaloneLayout',
9+
});
10+
};

0 commit comments

Comments
 (0)