Sindbad~EG File Manager
/**
* @swagger
* components:
* schemas:
* FileUploader:
* type: object
* required:
* - data
* properties:
* data:
* type: string
* format: binary
* description: The data file to upload
* securitySchemes:
* bearerAuth:
* type: http
* scheme: bearer
* bearerFormat: JWT
*/
/**
* @swagger
* tags:
* - name: File Upload
* description: File upload operations
*/
/**
* @swagger
* /file:
* post:
* summary: Upload an file
* tags: [File Upload]
* consumes:
* - multipart/form-data
* requestBody:
* required: true
* content:
* multipart/form-data:
* schema:
* $ref: '#/components/schemas/FileUploader'
* responses:
* 200:
* description: Successfully uploaded the data
* content:
* application/json:
* schema:
* type: object
* properties:
* message:
* type: string
* example: "Image uploaded successfully"
* filename:
* type: string
* example: "data-1721684906318.png"
*/
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists