fixed documentation CSV upload
MODIFY
src/assets/server/rest/v1/docs/e-mobility-oas.json
src/assets/server/rest/v1/docs/e-mobility-oas.json
"description": "Import users from file",
"requestBody": {
"content": {
- "text/csv": {
+ "multipart/form-data": {
"schema": {
+ "type": "object",
+ "properties": {
+ "filename": {
"type": "string",
"format": "binary"
}
}
}
+ }
+ }
},
"tags": [
"Users"
"description": "Import a Tag file",
"requestBody": {
"content": {
- "text/csv": {
+ "multipart/form-data": {
"schema": {
+ "type": "object",
+ "properties": {
+ "filename": {
"type": "string",
- "format": "binary",
- "example": "id,visualID,description,firstName,name,email\n\"###\",\"###\",\"###\",\"###\",\"###\",\"###\""
+ "format": "binary"
+ }
+ }
}
}
}

fixed documentation CSV upload