refactor: optional metadata field (for file upload only)

This commit is contained in:
Methapon2001 2023-11-27 17:30:20 +07:00
parent 17b70e8d5e
commit bc13f0e5ce
No known key found for this signature in database
GPG key ID: 849924FEF46BD132
4 changed files with 22 additions and 34 deletions

View file

@ -692,10 +692,6 @@
}
},
"required": [
"keyword",
"category",
"description",
"title",
"file",
"upload",
"updatedBy",
@ -771,10 +767,6 @@
}
},
"required": [
"keyword",
"category",
"description",
"title",
"file"
],
"type": "object"
@ -811,6 +803,9 @@
}
}
},
"204": {
"description": "สำเร็จ"
},
"404": {
"description": "ไม่พบตำแหน่งที่ต้องการสร้างแฟ้ม"
}
@ -1772,10 +1767,6 @@
}
},
"required": [
"keyword",
"category",
"description",
"title",
"file",
"upload",
"updatedBy",
@ -1859,10 +1850,6 @@
}
},
"required": [
"keyword",
"category",
"description",
"title",
"file"
],
"type": "object"