From c73ce96f4d2a794629593980deae9ca1a6b77629 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Tue, 29 Jan 2019 17:33:44 +0100 Subject: [PATCH] Enabled custom domain to use with the swagger API --- docs/swagger.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/swagger.yml b/docs/swagger.yml index 5b277f0e0..be32d91a6 100644 --- a/docs/swagger.yml +++ b/docs/swagger.yml @@ -7,10 +7,17 @@ info: servers: - url: https://demo.funkwhale.audio/api/v1 description: Demo server - - url: https://open.audio/api/v1 - description: Open Audio - - url: https://node1.funkwhale.test/api/v1 - description: Node 1 (local) + - url: https://{domain}/api/v1 + description: Custom server + variables: + domain: + default: yourdomain + description: Your Funkwhale Domain + protocol: + enum: + - 'http' + - 'https' + default: 'https' components: securitySchemes: