Skip to content

Commit 0c1e53c

Browse files
authored
feat: add a self-hosted server url (#18)
1 parent 7d9c568 commit 0c1e53c

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

spec3.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,16 @@
1111
"servers": [
1212
{
1313
"url": "https://app.getoutline.com/api",
14-
"description": "Production"
14+
"description": "Cloud hosted"
15+
},
16+
{
17+
"url": "https://{domain}/api",
18+
"description": "Self-hosted on your own server",
19+
"variables": {
20+
"domain": {
21+
"default": "example.com"
22+
}
23+
}
1524
}
1625
],
1726
"security": [
@@ -7260,4 +7269,4 @@
72607269
}
72617270
}
72627271
}
7263-
}
7272+
}

spec3.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,12 @@ info:
150150
email: hello@getoutline.com
151151
servers:
152152
- url: https://app.getoutline.com/api
153-
description: Production
153+
description: Cloud hosted
154+
- url: https://{domain}/api
155+
description: Self-hosted on your own server
156+
variables:
157+
domain:
158+
default: example.com
154159
security:
155160
- BearerAuth: []
156161
- OAuth2:

0 commit comments

Comments
 (0)