From fa1518cb1d257187dd2fa322023ba8e4a296c93a Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Thu, 4 Jul 2024 03:51:54 +0000 Subject: [PATCH] Fix: wrong settings path --- docs/controllers/EmailController.yaml | 2 +- docs/openapi.json | 2 +- docs/root.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/controllers/EmailController.yaml b/docs/controllers/EmailController.yaml index 3a7d990e..8fb03043 100644 --- a/docs/controllers/EmailController.yaml +++ b/docs/controllers/EmailController.yaml @@ -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 diff --git a/docs/openapi.json b/docs/openapi.json index 826bf84b..2f79a422 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -420,7 +420,7 @@ } } }, - "/api/emails": { + "/api/emails/settings": { "get": { "description": "Get email settings", "operationId": "getEmailSettings", diff --git a/docs/root.yaml b/docs/root.yaml index e3caedaa..4ac22abc 100644 --- a/docs/root.yaml +++ b/docs/root.yaml @@ -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: