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: servers:
- url: https://demo.funkwhale.audio/api/v1 - url: https://demo.funkwhale.audio/api/v1
description: Demo server description: Demo server
- url: https://open.audio/api/v1 - url: https://{domain}/api/v1
description: Open Audio description: Custom server
- url: https://node1.funkwhale.test/api/v1 variables:
description: Node 1 (local) domain:
default: yourdomain
description: Your Funkwhale Domain
protocol:
enum:
- 'http'
- 'https'
default: 'https'
components: components:
securitySchemes: securitySchemes: