feat(api): validate plex when settings are saved

This commit is contained in:
sct
2020-09-19 22:13:48 +09:00
parent e0c39aeca1
commit 8f6247d821
7 changed files with 182 additions and 8 deletions

View File

@@ -68,9 +68,11 @@ components:
name:
type: string
example: 'Main Server'
readOnly: true
machineId:
type: string
example: '1234-1234-1234-1234'
example: '1234123412341234'
readOnly: true
ip:
type: string
example: '127.0.0.1'
@@ -79,6 +81,7 @@ components:
example: 32400
libraries:
type: array
readOnly: true
items:
$ref: '#/components/schemas/PlexLibrary'
required: