-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "fix: remove duplicate imports that will lead to failed js #75
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,11 @@ get: | |
required: true | ||
schema: | ||
type: integer | ||
- $ref: ../../parameters/plex/x-plex-identifier.yaml | ||
- $ref: ../../parameters/plex/x-plex-product.yaml | ||
- $ref: ../../parameters/plex/x-plex-device.yaml | ||
- $ref: ../../parameters/plex/x-plex-version.yaml | ||
- $ref: ../../parameters/plex/x-plex-platform.yaml | ||
Comment on lines
+17
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) A most excellent enhancement to our authentication protocol! I am pleased to report that these additional parameters shall provide a more robust security context for our authentication flow. The consistency with our other endpoints is most commendable. Might I suggest documenting these parameters' role in enhancing security in the API documentation? It would be most beneficial for our esteemed API consumers. |
||
responses: | ||
"200": | ||
description: The Pin with a non-null authToken when it has been verified by the user | ||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -24,6 +24,7 @@ | |||||
description: Include IPv6 entries in the results | ||||||
schema: | ||||||
$ref: "../../models/common/PlexBoolean.yaml" | ||||||
- $ref: "../../parameters/plex/x-plex-identifier.yaml" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) A minor matter of quotation, if you'll permit me to observe. One might consider removing the redundant quotes around the reference path, as they serve no additional purpose in this context. - - $ref: "../../parameters/plex/x-plex-identifier.yaml"
+ - $ref: ../../parameters/plex/x-plex-identifier.yaml 📝 Committable suggestion
Suggested change
🧰 Tools🪛 GitHub Check: Trunk Check[failure] 27-27: yamllint(quoted-strings) |
||||||
responses: | ||||||
"200": | ||||||
description: List of Plex Devices. This includes Plex hosted servers and clients | ||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -53,13 +53,15 @@ servers: | |||||
default: "32400" | ||||||
description: The port of your Plex Server | ||||||
|
||||||
x-speakeasy-globals: | ||||||
parameters: | ||||||
- $ref: "./parameters/plex/x-plex-identifier.yaml" | ||||||
- $ref: "./parameters/plex/x-plex-product.yaml" | ||||||
- $ref: "./parameters/plex/x-plex-version.yaml" | ||||||
- $ref: "./parameters/plex/x-plex-platform.yaml" | ||||||
- $ref: "./parameters/plex/x-plex-device.yaml" | ||||||
# TODO: Enable this when the SDK generation bug has been resolved: | ||||||
# https://github.com/LukeHagar/plexjs/issues/26#issuecomment-2547058955 | ||||||
#x-speakeasy-globals: | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) A minor matter of proper comment formatting, if you'll permit me to mention. The comment on line 58 appears to be missing a space after the hash symbol, which is customary in YAML documents. Might I suggest this slight refinement: -#x-speakeasy-globals:
+# x-speakeasy-globals: 📝 Committable suggestion
Suggested change
🧰 Tools🪛 yamllint (1.35.1)[warning] 58-58: missing starting space in comment (comments) |
||||||
# parameters: | ||||||
# - $ref: "./parameters/plex/x-plex-identifier.yaml" | ||||||
# - $ref: "./parameters/plex/x-plex-product.yaml" | ||||||
# - $ref: "./parameters/plex/x-plex-version.yaml" | ||||||
# - $ref: "./parameters/plex/x-plex-platform.yaml" | ||||||
# - $ref: "./parameters/plex/x-plex-device.yaml" | ||||||
|
||||||
security: | ||||||
- accessToken: [] | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧹 Nitpick (assertive)
A most proper addition of the identifier parameter, though a minor refinement is warranted.
The inclusion of the Plex identifier parameter is most appropriate. However, I must point out that the quotation marks around the reference path are quite redundant, my good fellow.
Might I suggest this refined presentation:
📝 Committable suggestion
🧰 Tools
🪛 GitHub Check: Trunk Check
[failure] 10-10: yamllint(quoted-strings)
[new] string value is redundantly quoted with any quotes