split get and delete endpoint

This commit is contained in:
JasonLandbridge
2024-09-03 16:53:31 +02:00
parent 6b4e460765
commit 0188055bbd
6 changed files with 23 additions and 21 deletions

View File

@@ -0,0 +1,15 @@
delete:
tags:
- Library
summary: Delete Library Section
description: Delete a library using a specific section id
operationId: deleteLibrary
parameters:
- $ref: "../../../parameters/library/section-key.yaml"
responses:
"200":
description: The library is deleted
"400":
$ref: "../../../responses/400.yaml"
"401":
$ref: "../../../responses/401.yaml"

View File

@@ -229,20 +229,3 @@ get:
$ref: "../../../responses/400.yaml"
"401":
$ref: "../../../responses/401.yaml"
# TODO Move the deleteLibrary operation to its own file, there is currently a bug in the SDKEasy lint that prevents this referencing two methods from the same path url
delete:
tags:
- Library
summary: Delete Library Section
description: Delete a library using a specific section id
operationId: deleteLibrary
parameters:
- $ref: "../../../parameters/library/section-key.yaml"
responses:
"200":
description: The library is deleted
"400":
$ref: "../../../responses/400.yaml"
"401":
$ref: "../../../responses/401.yaml"