corrected mistakes

This commit is contained in:
JasonLandbridge
2024-08-25 14:39:21 +02:00
parent df68dcc561
commit fc75eae0f3
3 changed files with 19 additions and 37 deletions

View File

@@ -30,13 +30,7 @@ get:
required: true required: true
description: the Id of the library to query description: the Id of the library to query
schema: schema:
x-speakeasy-type-override: any
type: [integer, string] type: [integer, string]
examples:
librarySectionID:
value: 1
providerSectionID:
value: watchlist
- name: tag - name: tag
in: path in: path
required: true required: true
@@ -68,7 +62,7 @@ get:
description: | description: |
Adds the Guids object to the response Adds the Guids object to the response
schema: schema:
type: enum type: integer
enum: enum:
- 0 - 0
- 1 - 1
@@ -79,7 +73,7 @@ get:
description: | description: |
Adds the Meta object to the response Adds the Meta object to the response
schema: schema:
type: enum type: integer
enum: enum:
- 0 - 0
- 1 - 1

View File

@@ -23,10 +23,7 @@ get:
schema: schema:
$ref: ../../models/AuthPinContainer.yaml $ref: ../../models/AuthPinContainer.yaml
'400': '400':
content: $ref: ../../responses/400-MissingIdentifier.yaml
application/json:
schema:
$ref: ../../responses/400-MissingIdentifier.yaml
'404': '404':
description: Not Found or Expired description: Not Found or Expired
content: content:
@@ -48,4 +45,4 @@ get:
example: example:
errors: errors:
- code: 1020 - code: 1020
message: Code not found or expired message: Code not found or expired

View File

@@ -2881,15 +2881,9 @@ paths:
required: true required: true
description: the Id of the library to query description: the Id of the library to query
schema: schema:
x-speakeasy-type-override: any
type: type:
- integer - integer
- string - string
examples:
librarySectionID:
value: 1
providerSectionID:
value: watchlist
- name: tag - name: tag
in: path in: path
required: true required: true
@@ -5800,29 +5794,26 @@ paths:
newRegistration: newRegistration:
type: 'null' type: 'null'
'400': '400':
description: Bad Request response when the X-Plex-Client-Identifier is missing
content: content:
application/json: application/json:
schema: schema:
description: Bad Request response when the X-Plex-Client-Identifier is missing type: object
content: properties:
application/json: errors:
schema: type: array
items:
type: object type: object
properties: properties:
errors: code:
type: array type: integer
items: example: 1000
type: object message:
properties: type: string
code: example: X-Plex-Client-Identifier is missing
type: integer status:
example: 1000 type: integer
message: example: 400
type: string
example: X-Plex-Client-Identifier is missing
status:
type: integer
example: 400
'404': '404':
description: Not Found or Expired description: Not Found or Expired
content: content: