diff --git a/openapi/v1/job.yaml b/openapi/v1/job.yaml index 6014bf02..b5478bf4 100644 --- a/openapi/v1/job.yaml +++ b/openapi/v1/job.yaml @@ -350,6 +350,20 @@ paths: application/json: schema: $ref: "#/components/schemas/ImportAFileRequest" + multipart/form-data: + schema: + type: object + properties: + studyAccession: + type: string + dataClass: + type: string + metadata: + type: string + format: binary + data: + type: string + format: binary required: false responses: "200": diff --git a/openapi/v1/odmApi.yaml b/openapi/v1/odmApi.yaml index 638f6879..56797b1d 100644 --- a/openapi/v1/odmApi.yaml +++ b/openapi/v1/odmApi.yaml @@ -16188,6 +16188,20 @@ paths: application/json: schema: $ref: "#/components/schemas/ImportAFileRequest" + multipart/form-data: + schema: + type: "object" + properties: + studyAccession: + type: "string" + dataClass: + type: "string" + metadata: + type: "string" + format: "binary" + data: + type: "string" + format: "binary" required: false responses: "200":