chore(oas): [18/n] improve oas schemas (#9311)

Improve OAS schemas [18/n]
This commit is contained in:
Shahed Nasser
2024-09-26 17:08:10 +03:00
committed by GitHub
parent c2f023c02f
commit be1adac024
33 changed files with 1178 additions and 819 deletions

View File

@@ -37,6 +37,26 @@ class SchemaFactory {
BigNumberValue: {
type: "number",
},
File: {
type: "object",
description: "A File to upload.",
externalDocs: {
url: "https://developer.mozilla.org/en-US/docs/Web/API/File",
description: "Learn more about the File API",
},
},
FileList: {
type: "array",
description: "list of files to upload.",
items: {
type: "object",
description: "A File to upload.",
externalDocs: {
url: "https://developer.mozilla.org/en-US/docs/Web/API/File",
description: "Learn more about the File API",
},
},
},
}
/**
* Schemas used only for response types.