diff options
Diffstat (limited to 'matweb/oas')
| -rw-r--r-- | matweb/oas/remove_metadata.yml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/matweb/oas/remove_metadata.yml b/matweb/oas/remove_metadata.yml new file mode 100644 index 0000000..ad5a7da --- /dev/null +++ b/matweb/oas/remove_metadata.yml | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | --- | ||
| 2 | tags: | ||
| 3 | - "Metadata removal cleaning in one request (automated clients)" | ||
| 4 | summary: 'Upload a single file which will be cleaned from metadata and returned directly' | ||
| 5 | requestBody: | ||
| 6 | description: "The file that will be cleaned from metadata and the cleaned file is returned directly" | ||
| 7 | required: true | ||
| 8 | content: | ||
| 9 | multipart/form-data: | ||
| 10 | schema: | ||
| 11 | type: object | ||
| 12 | properties: | ||
| 13 | file: | ||
| 14 | type: string | ||
| 15 | format: binary | ||
| 16 | responses: | ||
| 17 | '200': | ||
| 18 | description: "The cleaned file" | ||
| 19 | content: | ||
| 20 | "*/*": | ||
| 21 | schema: | ||
| 22 | type: string | ||
| 23 | format: binary | ||
| 24 | 400: | ||
| 25 | description: "Invalid input" | ||
| 26 | content: | ||
| 27 | application/json: | ||
| 28 | schema: | ||
| 29 | $ref: '#/components/schemas/ErrorResponse' | ||
| 30 | 415: | ||
| 31 | description: "Unsupported file type" | ||
| 32 | content: | ||
| 33 | application/json: | ||
| 34 | schema: | ||
| 35 | $ref: '#/components/schemas/ErrorResponse' | ||
| 36 | 500: | ||
| 37 | description: "Unable to clean the file" | ||
| 38 | content: | ||
| 39 | application/json: | ||
| 40 | schema: | ||
| 41 | $ref: '#/components/schemas/ErrorResponse' \ No newline at end of file | ||
