想要上传一个文件,input和output的参数该怎么写?
from apiflask import APIBlueprint, input, output
from flask import request
case = APIBlueprint("Case", __name__)
bugServices = CaseService()
@case.post("/caseImport")
@input() #请求
@output() #响应
def caseQuery(data):
return bugServices.caseImportService(request.files)