From 129c2ae909a1cb65697922c55131cdce7bf380be Mon Sep 17 00:00:00 2001 From: Hans Pagel Date: Mon, 1 Sep 2025 16:16:04 +0200 Subject: [PATCH] feat: add a self-hosted server url --- spec3.json | 13 +++++++++++-- spec3.yml | 7 ++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/spec3.json b/spec3.json index 16f8b4e..57d6e4d 100644 --- a/spec3.json +++ b/spec3.json @@ -11,7 +11,16 @@ "servers": [ { "url": "https://app.getoutline.com/api", - "description": "Production" + "description": "Cloud hosted" + }, + { + "url": "https://{domain}/api", + "description": "Self-hosted on your own server", + "variables": { + "domain": { + "default": "example.com" + } + } } ], "security": [ @@ -7260,4 +7269,4 @@ } } } -} \ No newline at end of file +} diff --git a/spec3.yml b/spec3.yml index e777c9c..5f56771 100644 --- a/spec3.yml +++ b/spec3.yml @@ -150,7 +150,12 @@ info: email: hello@getoutline.com servers: - url: https://app.getoutline.com/api - description: Production + description: Cloud hosted +- url: https://{domain}/api + description: Self-hosted on your own server + variables: + domain: + default: example.com security: - BearerAuth: [] - OAuth2: