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: