mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 04:11:43 +00:00
Fix: response type should be string
This commit is contained in:
parent
f92f5c31bc
commit
a0a2fef54d
1 changed files with 16 additions and 16 deletions
|
|
@ -29,7 +29,7 @@ paths:
|
|||
- $ref: './controllers/AuthorController.yaml#/components/parameters/authorInclude'
|
||||
- $ref: './controllers/AuthorController.yaml#/components/parameters/authorLibraryId'
|
||||
responses:
|
||||
200:
|
||||
'200':
|
||||
description: getAuthorById OK
|
||||
content:
|
||||
application/json:
|
||||
|
|
@ -38,7 +38,7 @@ paths:
|
|||
- $ref: './objects/entities/Author.yaml#/components/schemas/author'
|
||||
- $ref: './objects/entities/Author.yaml#/components/schemas/authorWithItems'
|
||||
- $ref: './objects/entities/Author.yaml#/components/schemas/authorWithSeries'
|
||||
404:
|
||||
'404':
|
||||
$ref: './controllers/AuthorController.yaml#/components/responses/author404'
|
||||
patch:
|
||||
operationId: updateAuthorById
|
||||
|
|
@ -52,7 +52,7 @@ paths:
|
|||
- $ref: './controllers/AuthorController.yaml#/components/parameters/authorDescription'
|
||||
- $ref: './controllers/AuthorController.yaml#/components/parameters/authorImagePath'
|
||||
responses:
|
||||
200:
|
||||
'200':
|
||||
description: updateAuthorById OK
|
||||
content:
|
||||
application/json:
|
||||
|
|
@ -66,7 +66,7 @@ paths:
|
|||
description: Will only exist and be `true` if the author was merged with another author
|
||||
type: boolean
|
||||
nullable: true
|
||||
404:
|
||||
'404':
|
||||
$ref: './controllers/AuthorController.yaml#/components/responses/author404'
|
||||
delete:
|
||||
operationId: deleteAuthorById
|
||||
|
|
@ -76,9 +76,9 @@ paths:
|
|||
parameters:
|
||||
- $ref: './controllers/AuthorController.yaml#/components/parameters/authorId'
|
||||
responses:
|
||||
200:
|
||||
'200':
|
||||
$ref: '#/components/responses/ok200'
|
||||
404:
|
||||
'404':
|
||||
$ref: './controllers/AuthorController.yaml#/components/responses/author404'
|
||||
/api/authors/{id}/image:
|
||||
post:
|
||||
|
|
@ -90,14 +90,14 @@ paths:
|
|||
- $ref: './controllers/AuthorController.yaml#/components/parameters/authorId'
|
||||
- $ref: './controllers/AuthorController.yaml#/components/parameters/imageUrl'
|
||||
responses:
|
||||
200:
|
||||
'200':
|
||||
description: setAuthorImageById OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
oneOf:
|
||||
- $ref: './objects/entities/Author.yaml#/components/schemas/author'
|
||||
404:
|
||||
'404':
|
||||
$ref: './controllers/AuthorController.yaml#/components/responses/author404'
|
||||
delete:
|
||||
operationId: deleteAuthorImageById
|
||||
|
|
@ -107,9 +107,9 @@ paths:
|
|||
parameters:
|
||||
- $ref: './controllers/AuthorController.yaml#/components/parameters/authorId'
|
||||
responses:
|
||||
200:
|
||||
'200':
|
||||
$ref: '#/components/responses/ok200'
|
||||
404:
|
||||
'404':
|
||||
$ref: './controllers/AuthorController.yaml#/components/responses/author404'
|
||||
patch:
|
||||
operationId: getAuthorImageById
|
||||
|
|
@ -123,14 +123,14 @@ paths:
|
|||
- $ref: './controllers/AuthorController.yaml#/components/parameters/imageFormat'
|
||||
- $ref: './controllers/AuthorController.yaml#/components/parameters/imageRaw'
|
||||
responses:
|
||||
200:
|
||||
'200':
|
||||
description: getAuthorImageById OK
|
||||
content:
|
||||
image/*:
|
||||
schema:
|
||||
type: string
|
||||
format: binary
|
||||
404:
|
||||
'404':
|
||||
$ref: './controllers/AuthorController.yaml#/components/responses/author404'
|
||||
/api/authors/{id}/match:
|
||||
post:
|
||||
|
|
@ -143,7 +143,7 @@ paths:
|
|||
- $ref: './controllers/AuthorController.yaml#/components/parameters/asin'
|
||||
- $ref: './controllers/AuthorController.yaml#/components/parameters/authorSearchName'
|
||||
responses:
|
||||
200:
|
||||
'200':
|
||||
description: matchAuthorById OK
|
||||
content:
|
||||
application/json:
|
||||
|
|
@ -151,7 +151,7 @@ paths:
|
|||
allOf:
|
||||
- $ref: './objects/entities/Author.yaml#/components/schemas/author'
|
||||
- $ref: './controllers/AuthorController.yaml#/components/schemas/authorUpdated'
|
||||
404:
|
||||
'404':
|
||||
$ref: './controllers/AuthorController.yaml#/components/responses/author404'
|
||||
/api/libraries:
|
||||
get:
|
||||
|
|
@ -160,7 +160,7 @@ paths:
|
|||
tags:
|
||||
- Libraries
|
||||
responses:
|
||||
200:
|
||||
'200':
|
||||
description: getLibraries OK
|
||||
content:
|
||||
application/json:
|
||||
|
|
@ -181,7 +181,7 @@ paths:
|
|||
- $ref: './controllers/LibraryController.yaml#/components/parameters/libraryProvider'
|
||||
- $ref: './controllers/LibraryController.yaml#/components/parameters/librarySettings'
|
||||
responses:
|
||||
200:
|
||||
'200':
|
||||
description: createLibrary OK
|
||||
content:
|
||||
application/json:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue