/
home
/
infinitibizsol
/
.trash
/
docs.2
/
user
/
File Upload :
llllll
Current File: /home/infinitibizsol/.trash/docs.2/user/emailSignature.js
/** * @swagger * components: * schemas: * EmailSignature: * type: object * required: * - email_signature * properties: * email_signature: * type: string * description: The email service provider * example: * email_signature: "tester" * EmailSigUpdateResponse: * type: object * properties: * message: * type: string * example: "Data updated successfully" * EmailSigDeleteResponse: * type: object * properties: * message: * type: string * example: "entry_name and related data deleted successfully" * securitySchemes: * bearerAuth: * type: http * scheme: bearer * bearerFormat: JWT */ /** * @swagger * tags: * - name: EmailSignature * description: Email signature related operations */ /** * @swagger * /email-signature/list: * get: * summary: Returns the list of email setups * tags: [EmailSignature] * security: * - bearerAuth: [] * responses: * 200: * description: The list of email setups * content: * application/json: * schema: * type: array * items: * $ref: '#/components/schemas/EmailSignature' */ /** * @swagger * /email-signature/edit: * put: * summary: Update the email signature by user_id which will be taken from JWT token * tags: [EmailSignature] * security: * - bearerAuth: [] * requestBody: * required: true * content: * application/json: * schema: * $ref: '#/components/schemas/EmailSignature' * responses: * 200: * description: The email signature was successfully updated * content: * application/json: * schema: * $ref: '#/components/schemas/EmailSigUpdateResponse' */ /** * @swagger * /email-signature/delete: * delete: * summary: Delete the email signature by user_id which will be taken from JWT token * tags: [EmailSignature] * security: * - bearerAuth: [] * responses: * 200: * description: The email signature was successfully deleted * content: * application/json: * schema: * $ref: '#/components/schemas/DeleteResponse' */ "use strict";
Copyright ©2k19 -
Hexid
|
Tex7ure