mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +00:00
Replace: generic parameter with path specific parameter
This commit is contained in:
parent
1430946e0e
commit
e8797ce0c8
2 changed files with 27 additions and 25 deletions
|
|
@ -1,12 +1,4 @@
|
|||
components:
|
||||
parameters:
|
||||
libraryId:
|
||||
name: id
|
||||
in: path
|
||||
description: The ID of the library.
|
||||
required: true
|
||||
schema:
|
||||
$ref: '../objects/Library.yaml#/components/schemas/libraryId'
|
||||
requestBody:
|
||||
libraryName:
|
||||
name: name
|
||||
|
|
@ -133,7 +125,12 @@ paths:
|
|||
$ref: '#/components/responses/library404'
|
||||
/api/libraries/{id}:
|
||||
parameters:
|
||||
$ref: '#/components/parameters/libraryId'
|
||||
- name: id
|
||||
in: path
|
||||
description: The ID of the library.
|
||||
required: true
|
||||
schema:
|
||||
$ref: '../objects/Library.yaml#/components/schemas/libraryId'
|
||||
get:
|
||||
operationId: getLibraryById
|
||||
summary: Get a single library by ID on server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue