Skip to content

Commit 13e2031

Browse files
authored
Merge pull request #75 from LukeHagar/hopeful-fix
Revert "fix: remove duplicate imports that will lead to failed js
2 parents a994a85 + 556069c commit 13e2031

File tree

6 files changed

+27
-7
lines changed

6 files changed

+27
-7
lines changed

src/paths/library/get-search-all-libraries.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ get:
77
Search the provided query across all library sections, or a single section, and return matches as hubs, split up by type.
88
parameters:
99
- $ref: "../../parameters/query.yaml"
10+
- $ref: "../../parameters/plex/x-plex-identifier.yaml"
1011
- name: limit
1112
in: query
1213
required: false

src/paths/pins/pins-id.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ get:
1414
required: true
1515
schema:
1616
type: integer
17+
- $ref: ../../parameters/plex/x-plex-identifier.yaml
18+
- $ref: ../../parameters/plex/x-plex-product.yaml
19+
- $ref: ../../parameters/plex/x-plex-device.yaml
20+
- $ref: ../../parameters/plex/x-plex-version.yaml
21+
- $ref: ../../parameters/plex/x-plex-platform.yaml
1722
responses:
1823
"200":
1924
description: The Pin with a non-null authToken when it has been verified by the user

src/paths/pins/pins.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ post:
1818
type: boolean
1919
default: false
2020
required: false
21+
- $ref: ../../parameters/plex/x-plex-identifier.yaml
22+
- $ref: ../../parameters/plex/x-plex-product.yaml
23+
- $ref: ../../parameters/plex/x-plex-device.yaml
24+
- $ref: ../../parameters/plex/x-plex-version.yaml
25+
- $ref: ../../parameters/plex/x-plex-platform.yaml
2126

2227
responses:
2328
"201":

src/paths/resources/get-server-resources.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ get:
2424
description: Include IPv6 entries in the results
2525
schema:
2626
$ref: "../../models/common/PlexBoolean.yaml"
27+
- $ref: "../../parameters/plex/x-plex-identifier.yaml"
2728
responses:
2829
"200":
2930
description: List of Plex Devices. This includes Plex hosted servers and clients

src/paths/users/post-sign-in.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ post:
77
summary: Get User Sign In Data
88
description: Sign in user with username and password and return user data with Plex authentication token
99
operationId: post-users-sign-in-data
10+
parameters:
11+
- $ref: ../../parameters/plex/x-plex-identifier.yaml
12+
- $ref: ../../parameters/plex/x-plex-product.yaml
13+
- $ref: ../../parameters/plex/x-plex-device.yaml
14+
- $ref: ../../parameters/plex/x-plex-version.yaml
15+
- $ref: ../../parameters/plex/x-plex-platform.yaml
1016
requestBody:
1117
content:
1218
application/x-www-form-urlencoded:

src/pms-spec.yaml

+9-7
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,15 @@ servers:
5353
default: "32400"
5454
description: The port of your Plex Server
5555

56-
x-speakeasy-globals:
57-
parameters:
58-
- $ref: "./parameters/plex/x-plex-identifier.yaml"
59-
- $ref: "./parameters/plex/x-plex-product.yaml"
60-
- $ref: "./parameters/plex/x-plex-version.yaml"
61-
- $ref: "./parameters/plex/x-plex-platform.yaml"
62-
- $ref: "./parameters/plex/x-plex-device.yaml"
56+
# TODO: Enable this when the SDK generation bug has been resolved:
57+
# https://github.com/LukeHagar/plexjs/issues/26#issuecomment-2547058955
58+
#x-speakeasy-globals:
59+
# parameters:
60+
# - $ref: "./parameters/plex/x-plex-identifier.yaml"
61+
# - $ref: "./parameters/plex/x-plex-product.yaml"
62+
# - $ref: "./parameters/plex/x-plex-version.yaml"
63+
# - $ref: "./parameters/plex/x-plex-platform.yaml"
64+
# - $ref: "./parameters/plex/x-plex-device.yaml"
6365

6466
security:
6567
- accessToken: []

0 commit comments

Comments
 (0)