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

Improve OAS schemas [18/n]
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-09-26 14:08:10 +00:00
1 parent c2f023c02f
commit be1adac024
33 files changed
+1178 -819

No files matched your search

@@ -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.