From fd4343db2c707f33bd4aac91b7d535a41430efb6 Mon Sep 17 00:00:00 2001 From: TGS963 Date: Tue, 22 Oct 2024 16:32:59 +0530 Subject: [PATCH] update docs --- docs/openapi.yaml | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/docs/openapi.yaml b/docs/openapi.yaml index d9283a7..9ab06f4 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -238,10 +238,6 @@ paths: data: type: object properties: - userId: - type: string - description: The user ID - example: kB4EFDHo2bWAvVthqaU8vMufCMY2 taskId: type: string description: The task ID @@ -378,10 +374,6 @@ paths: schema: type: object properties: - userId: - type: string - description: The user ID - example: kB4EFDHo2bWAvVthqaU8vMufCMY2 files: type: array items: @@ -407,16 +399,11 @@ paths: description: The timestamp when the file expires type: number format: float - path: - description: The s3 path to the file - type: string - required: - - fileName - - fileType - - fileSize - - originalFileName - - createdAt - - expiresAt + description: (Optional) The files to process. Optional if the file is not manually provided in the file property + file: + type: string + format: binary + description: (Optional) A single file to upload, used when startTask is being used to upload the file, not needed if already uploaded s3 files or file links are passed in files array enhanceFace: type: boolean description: Whether to enhance faces in the image @@ -438,10 +425,6 @@ paths: enum: ["png", "jpg", "webp"] description: The format to save the image as example: jpg - file: - type: string - format: binary - description: A single file to upload, used when startTask is being used to upload the file, not needed if already uploaded s3 files or file links are passed in files array responses: "200": description: Successful operation