Enabled custom domain to use with the swagger API

This commit is contained in:
Eliot Berriot 2019-01-29 17:33:44 +01:00
parent a39c0a671d
commit c73ce96f4d
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 11 additions and 4 deletions

View File

@ -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: