diff --git a/paths/library/[sectionId]/get-library-items.yaml b/paths/library/[sectionId]/get-library-items.yaml index 617ad8ab..591bb2c0 100644 --- a/paths/library/[sectionId]/get-library-items.yaml +++ b/paths/library/[sectionId]/get-library-items.yaml @@ -30,13 +30,7 @@ get: required: true description: the Id of the library to query schema: - x-speakeasy-type-override: any type: [integer, string] - examples: - librarySectionID: - value: 1 - providerSectionID: - value: watchlist - name: tag in: path required: true @@ -68,7 +62,7 @@ get: description: | Adds the Guids object to the response schema: - type: enum + type: integer enum: - 0 - 1 @@ -79,7 +73,7 @@ get: description: | Adds the Meta object to the response schema: - type: enum + type: integer enum: - 0 - 1 diff --git a/paths/pins/pins-id.yaml b/paths/pins/pins-id.yaml index 689f63a2..deb6dd41 100644 --- a/paths/pins/pins-id.yaml +++ b/paths/pins/pins-id.yaml @@ -23,10 +23,7 @@ get: schema: $ref: ../../models/AuthPinContainer.yaml '400': - content: - application/json: - schema: - $ref: ../../responses/400-MissingIdentifier.yaml + $ref: ../../responses/400-MissingIdentifier.yaml '404': description: Not Found or Expired content: @@ -48,4 +45,4 @@ get: example: errors: - code: 1020 - message: Code not found or expired \ No newline at end of file + message: Code not found or expired diff --git a/plex-media-server-spec-dereferenced.yaml b/plex-media-server-spec-dereferenced.yaml index 5d61c75c..6d1ff2ce 100644 --- a/plex-media-server-spec-dereferenced.yaml +++ b/plex-media-server-spec-dereferenced.yaml @@ -2881,15 +2881,9 @@ paths: required: true description: the Id of the library to query schema: - x-speakeasy-type-override: any type: - integer - string - examples: - librarySectionID: - value: 1 - providerSectionID: - value: watchlist - name: tag in: path required: true @@ -5800,29 +5794,26 @@ paths: newRegistration: type: 'null' '400': + description: Bad Request response when the X-Plex-Client-Identifier is missing content: application/json: schema: - description: Bad Request response when the X-Plex-Client-Identifier is missing - content: - application/json: - schema: + type: object + properties: + errors: + type: array + items: type: object properties: - errors: - type: array - items: - type: object - properties: - code: - type: integer - example: 1000 - message: - type: string - example: X-Plex-Client-Identifier is missing - status: - type: integer - example: 400 + code: + type: integer + example: 1000 + message: + type: string + example: X-Plex-Client-Identifier is missing + status: + type: integer + example: 400 '404': description: Not Found or Expired content: