Open
Description
Hello,
I would like to generate an openapi def for this struct:
#[derive(Debug, MultipartForm, ApiType)]
pub struct UploadForm {
pub main: TempFile,
pub dependencies: Vec<TempFile>,
}
impl TypedSchema for UploadForm {
fn schema_type() -> InstanceType {
InstanceType::Object
}
fn format() -> Option<String> {
None
}
}
Unfortunately I'm stuck on how to do that, obviously I cannot use JsonSchema since it doesn't work with TempFile.
Any help would be really appreciated.
Thank you