chore(oas): [18/n] improve oas schemas (#9311)
Improve OAS schemas [18/n]
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user