mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-09-20 07:16:05 +08:00
Fix openapi docs spelling errors (#694)
This commit is contained in:
parent
753997fac7
commit
3c8e2d97a4
File diff suppressed because one or more lines are too long
|
@ -255,7 +255,7 @@ module.exports = (db, server) => {
|
|||
pathParams: {
|
||||
user: userId
|
||||
},
|
||||
reponse: { 200: { description: 'Success', model: Joi.object({ success: successRes }) } }
|
||||
response: { 200: { description: 'Success', model: Joi.object({ success: successRes }) } }
|
||||
}
|
||||
},
|
||||
tools.responseWrapper(async (req, res) => {
|
||||
|
|
|
@ -30,7 +30,7 @@ module.exports = (db, server) => {
|
|||
},
|
||||
response: {
|
||||
200: {
|
||||
descrition: 'Success',
|
||||
description: 'Success',
|
||||
model: Joi.object({
|
||||
success: successRes,
|
||||
total: totalRes,
|
||||
|
|
|
@ -628,9 +628,8 @@ module.exports = (db, server, mailboxHandler) => {
|
|||
summary: 'Delete a Mailbox',
|
||||
tags: ['Mailboxes'],
|
||||
validationObjs: {
|
||||
requestBody: { user: userId, mailbox: mailboxId },
|
||||
pathParams: { user: userId, mailbox: mailboxId },
|
||||
queryParams: { sess: sessSchema, ip: sessIPSchema },
|
||||
pathParams: {},
|
||||
response: {
|
||||
200: {
|
||||
description: 'Success',
|
||||
|
|
|
@ -763,7 +763,7 @@ module.exports = (db, server, userHandler, settingsHandler) => {
|
|||
pathParams: {
|
||||
user: userId
|
||||
},
|
||||
repsonse: {
|
||||
response: {
|
||||
200: {
|
||||
description: 'Success',
|
||||
model: Joi.object({
|
||||
|
|
Loading…
Reference in a new issue