UNPKG

@appsemble/utils

Version:

Utility functions used in Appsemble internally

29 lines 939 B
export const pathItems = { post: { tags: ['main', 'user', 'current-user'], description: 'Unsubscribe a user from the newsletter', operationId: 'unsubscribeCurrentUser', responses: { 201: { description: 'Unsubscribed successfully' }, 401: { description: 'Invalid or missing admin API secret' }, }, requestBody: { required: true, content: { 'application/json': { schema: { type: 'object', required: ['email'], properties: { email: { type: 'string', format: 'email', }, }, }, }, }, }, }, }; //# sourceMappingURL=unsubscribe.js.map