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: {
|
pathParams: {
|
||||||
user: userId
|
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) => {
|
tools.responseWrapper(async (req, res) => {
|
||||||
|
|
|
@ -30,7 +30,7 @@ module.exports = (db, server) => {
|
||||||
},
|
},
|
||||||
response: {
|
response: {
|
||||||
200: {
|
200: {
|
||||||
descrition: 'Success',
|
description: 'Success',
|
||||||
model: Joi.object({
|
model: Joi.object({
|
||||||
success: successRes,
|
success: successRes,
|
||||||
total: totalRes,
|
total: totalRes,
|
||||||
|
|
|
@ -628,9 +628,8 @@ module.exports = (db, server, mailboxHandler) => {
|
||||||
summary: 'Delete a Mailbox',
|
summary: 'Delete a Mailbox',
|
||||||
tags: ['Mailboxes'],
|
tags: ['Mailboxes'],
|
||||||
validationObjs: {
|
validationObjs: {
|
||||||
requestBody: { user: userId, mailbox: mailboxId },
|
pathParams: { user: userId, mailbox: mailboxId },
|
||||||
queryParams: { sess: sessSchema, ip: sessIPSchema },
|
queryParams: { sess: sessSchema, ip: sessIPSchema },
|
||||||
pathParams: {},
|
|
||||||
response: {
|
response: {
|
||||||
200: {
|
200: {
|
||||||
description: 'Success',
|
description: 'Success',
|
||||||
|
|
|
@ -763,7 +763,7 @@ module.exports = (db, server, userHandler, settingsHandler) => {
|
||||||
pathParams: {
|
pathParams: {
|
||||||
user: userId
|
user: userId
|
||||||
},
|
},
|
||||||
repsonse: {
|
response: {
|
||||||
200: {
|
200: {
|
||||||
description: 'Success',
|
description: 'Success',
|
||||||
model: Joi.object({
|
model: Joi.object({
|
||||||
|
|
Loading…
Reference in a new issue