mirror of
https://github.com/LukeHagar/plex-api-spec.git
synced 2025-12-10 04:20:52 +00:00
moved server to own file
This commit is contained in:
@@ -12,21 +12,7 @@ info:
|
|||||||
name: MIT
|
name: MIT
|
||||||
|
|
||||||
servers:
|
servers:
|
||||||
- url: "{protocol}://{ip}:{port}"
|
- $ref: "./servers/dynamic-server.yaml"
|
||||||
description: The full address of your Plex Server
|
|
||||||
variables:
|
|
||||||
protocol:
|
|
||||||
default: "https"
|
|
||||||
description: The protocol to use for the server connection
|
|
||||||
enum:
|
|
||||||
- "http"
|
|
||||||
- "https"
|
|
||||||
ip:
|
|
||||||
default: "10.10.10.47"
|
|
||||||
description: The IP address or hostname of your Plex Server
|
|
||||||
port:
|
|
||||||
default: "32400"
|
|
||||||
description: The port of your Plex Server
|
|
||||||
|
|
||||||
x-speakeasy-globals:
|
x-speakeasy-globals:
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
12
src/servers/dynamic-server.yaml
Normal file
12
src/servers/dynamic-server.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
url: "{protocol}://{ip}:{port}"
|
||||||
|
description: The full address of your Plex Server
|
||||||
|
variables:
|
||||||
|
protocol:
|
||||||
|
default: "https"
|
||||||
|
enum:
|
||||||
|
- "http"
|
||||||
|
- "https"
|
||||||
|
ip:
|
||||||
|
default: "10.10.10.47"
|
||||||
|
port:
|
||||||
|
default: "32400"
|
||||||
Reference in New Issue
Block a user