mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-21 19:49:08 +00:00
FEAT: Create Upload CSV Pipeline
This commit is contained in:
+43
-4
@@ -2385,16 +2385,23 @@
|
||||
"post": {
|
||||
"operationId": "PipelinesController_uploadFile",
|
||||
"parameters": [],
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
"content": {
|
||||
"multipart/form-data": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/IUploadCSVFile"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object"
|
||||
}
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5122,6 +5129,38 @@
|
||||
"updated_at"
|
||||
]
|
||||
},
|
||||
"IUploadCSVFile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"file": {
|
||||
"type": "string",
|
||||
"format": "binary"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"encoding": {
|
||||
"type": "string"
|
||||
},
|
||||
"sep": {
|
||||
"type": "string"
|
||||
},
|
||||
"header": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"file",
|
||||
"name",
|
||||
"description",
|
||||
"encoding",
|
||||
"sep",
|
||||
"header"
|
||||
]
|
||||
},
|
||||
"AvailableEntity": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user