Skip to content

Commit 43f4acc

Browse files
committed
Show only one option for selecting an API
Otherwise, a text box will be shown to enter any text. We only have one file of an API definition.
1 parent d20f535 commit 43f4acc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/api/public/apidocs/swagger-initializer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ window.onload = function() {
33

44
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
55
window.ui = SwaggerUIBundle({
6-
url: "OBS-v2.10.50.yaml",
6+
urls: [
7+
{ url: "OBS-v2.10.50.yaml", name: 'OBS v2.10.50'},
8+
],
79
validatorUrl: "none",
810
dom_id: '#swagger-ui',
911
deepLinking: true,

0 commit comments

Comments
 (0)