@appsemble/utils
Version:
Utility functions used in Appsemble internally
30 lines • 990 B
JavaScript
export const pathItems = {
post: {
tags: ['main', 'auth', 'email'],
description: 'Update password',
operationId: 'patchPassword',
responses: { 200: { description: 'Password changed.' } },
security: [{ studio: [] }],
requestBody: {
required: true,
content: {
'application/json': {
schema: {
type: 'object',
required: ['newPassword', 'currentPassword'],
properties: {
newPassword: {
type: 'string',
minLength: 8,
},
currentPassword: {
type: 'string',
},
},
},
},
},
},
},
};
//# sourceMappingURL=patchPassword.js.map