initialize CSV Importer

This commit is contained in:
Hayden 2022-09-06 11:15:07 -08:00
parent 1ab7435bf1
commit a903880f82
12 changed files with 600 additions and 5 deletions

View file

@ -85,6 +85,36 @@
}
}
},
"/v1/items/import": {
"post": {
"security": [
{
"Bearer": []
}
],
"produces": [
"application/json"
],
"tags": [
"Items"
],
"summary": "imports items into the database",
"parameters": [
{
"type": "file",
"description": "Image to upload",
"name": "csv",
"in": "formData",
"required": true
}
],
"responses": {
"204": {
"description": ""
}
}
}
},
"/v1/items/{id}": {
"get": {
"security": [