@appsemble/utils
Version:
Utility functions used in Appsemble internally
33 lines • 1.02 kB
JavaScript
export const pathItems = {
post: {
tags: ['main', 'auth', 'email'],
description: 'Reset a password using a password reset token.',
operationId: 'resetUserPassword',
requestBody: {
required: true,
content: {
'application/json': {
schema: {
type: 'object',
required: ['password', 'token'],
properties: {
password: {
type: 'string',
minLength: 8,
},
token: {
type: 'string',
},
},
},
},
},
},
responses: {
204: {
description: 'The password has been reset.',
},
},
},
};
//# sourceMappingURL=resetPassword.js.map