Skip to content

Commit

Permalink
Fix: wrong settings path
Browse files Browse the repository at this point in the history
  • Loading branch information
nichwall committed Jul 4, 2024
1 parent 6d14ed8 commit fa1518c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/controllers/EmailController.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
}
}
},
"/api/emails": {
"/api/emails/settings": {
"get": {
"description": "Get email settings",
"operationId": "getEmailSettings",
Expand Down
4 changes: 2 additions & 2 deletions docs/root.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fa1518c

Please sign in to comment.