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: items:
$ref: '../objects/settings/EmailSettings.yaml#/components/schemas/EreaderDeviceObject' $ref: '../objects/settings/EmailSettings.yaml#/components/schemas/EreaderDeviceObject'
paths: paths:
/api/emails: /api/emails/settings:
get: get:
description: Get email settings description: Get email settings
operationId: getEmailSettings operationId: getEmailSettings

View File

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

View File

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