mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-11 03:41:42 +00:00
Fixed wrong formation and added endpoints to root
This commit is contained in:
parent
15136e2562
commit
9efd3537a4
3 changed files with 12 additions and 14 deletions
|
|
@ -26,18 +26,14 @@ paths:
|
|||
type: object
|
||||
properties:
|
||||
user:
|
||||
type: object
|
||||
properties:
|
||||
$ref: '../objects/entities/User.yaml#/components/schemas/user'
|
||||
$ref: '../objects/entities/User.yaml#/components/schemas/user'
|
||||
'401':
|
||||
description: Unauthorized - Invalid username or password.
|
||||
content:
|
||||
application/json:
|
||||
text/html:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
message:
|
||||
type: string
|
||||
type: string
|
||||
example: Unauthorized
|
||||
/logout:
|
||||
post:
|
||||
summary: Logout from the server
|
||||
|
|
@ -61,13 +57,11 @@ paths:
|
|||
properties:
|
||||
message:
|
||||
type: string
|
||||
example: Successfully logged out.
|
||||
example: Success
|
||||
'401':
|
||||
description: Unauthorized
|
||||
content:
|
||||
application/json:
|
||||
text/html:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
message:
|
||||
type: string
|
||||
type: string
|
||||
example: Unauthorized
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue