fixing lint issues

This commit is contained in:
JasonLandbridge
2024-09-03 13:19:22 +02:00
parent 24f9bb82df
commit b2f43e3920
8 changed files with 13 additions and 63 deletions

View File

@@ -2,7 +2,7 @@ get:
tags:
- Library
summary: Search Library
operationId: searchLibrary
operationId: get-search-library
description: |
Search for content within a specific section of the library.
@@ -29,8 +29,8 @@ get:
description: the Id of the library to query
schema:
type: integer
- $ref: "../../parameters/accept-application-json.yaml"
- $ref: "../../parameters/type.yaml"
- $ref: "../../../parameters/accept-application-json.yaml"
- $ref: "../../../parameters/type.yaml"
responses:
"200":
description: The contents of the library by section and type
@@ -161,6 +161,6 @@ get:
format: int32
example: 1705636920
"400":
$ref: "../../responses/400.yaml"
$ref: "../../../responses/400.yaml"
"401":
$ref: "../../responses/401.yaml"
$ref: "../../../responses/401.yaml"

View File

@@ -1,36 +0,0 @@
get:
tags:
- Library
summary: Get Common Library Items
description: |
Represents a "Common" item. It contains only the common attributes of the items selected by the provided filter
operationId: getCommonLibraryItems
parameters:
- name: sectionId
description: the Id of the library to query
in: path
schema:
type: number
required: true
- name: type
description: item type
in: query
schema:
type: number
required: true
- name: filter
description: the filter parameter
in: query
schema:
type: string
required: false
responses:
"200":
description: The details of the library
"400":
$ref: "../../responses/400.yaml"
"401":
$ref: "../../responses/401.yaml"
"404":
description: In response to a non-existant sectionId.

View File

@@ -8,6 +8,7 @@ get:
operationId: getUserDetails
parameters:
- $ref: '../../parameters/plex-token.yaml'
- $ref: "../../parameters/accept-application-json.yaml"
responses:
'200':
description: Logged in user details