#Defines the sections
tags:
- name: CasCsvFile
description: Obtain Csv file form CAS and parse it.
externalDocs:
description: Find out more
url: ''
schemes:
- https
paths:
'/CasCsvFile':
post:
tags:
- CasCsvFile
summary: Find csv file
description: Returns csv file
operationId: getCSV
# produces:
# - application/json
consumes:
- multipart/form-data #and/or application/x-www-form-urlencoded
parameters:
- name: fileUpload
in: formData
description: The uploaded file data
required: true
type: file
responses:
'200':
description: successful operation
#schema:
#$ref: '#/definitions/NounInfo'
'400':
description: Invalid ID supplied
'404':
description: Noun not found
scopes:
api_key:
type: apiKey
name: api_key
in: header
externalDocs:
description: Find out more about Swagger
这是我为挥霍而编写的代码。 当我将文件上传到编辑器中时,提示文件未找到。
我想从招摇中读取一个csv文件并将其存储在数据库中