Fix: wrong settings path

This commit is contained in:
Nicholas Wallace 2024-07-04 03:51:54 +00:00
parent 6d14ed8a72
commit fa1518cb1d
3 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ components:
items:
$ref: '../objects/settings/EmailSettings.yaml#/components/schemas/EreaderDeviceObject'
paths:
/api/emails:
/api/emails/settings:
get:
description: Get email settings
operationId: getEmailSettings

View File

@ -420,7 +420,7 @@
}
}
},
"/api/emails": {
"/api/emails/settings": {
"get": {
"description": "Get email settings",
"operationId": "getEmailSettings",

View File

@ -21,8 +21,8 @@ paths:
$ref: './controllers/AuthorController.yaml#/paths/~1api~1authors~1{id}~1image'
/api/authors/{id}/match:
$ref: './controllers/AuthorController.yaml#/paths/~1api~1authors~1{id}~1match'
/api/emails:
$ref: './controllers/EmailController.yaml#/paths/~1api~1emails'
/api/emails/settings:
$ref: './controllers/EmailController.yaml#/paths/~1api~1emails~1settings'
/api/emails/test:
$ref: './controllers/EmailController.yaml#/paths/~1api~1emails~1test'
/api/emails/ereader-devices: