summaryrefslogtreecommitdiff
path: root/matweb/oas
diff options
context:
space:
mode:
Diffstat (limited to 'matweb/oas')
-rw-r--r--matweb/oas/download.yml6
-rw-r--r--matweb/oas/extension.yml17
2 files changed, 19 insertions, 4 deletions
diff --git a/matweb/oas/download.yml b/matweb/oas/download.yml
index 4c101a4..899d103 100644
--- a/matweb/oas/download.yml
+++ b/matweb/oas/download.yml
@@ -26,8 +26,6 @@ parameters:
26 26
27responses: 27responses:
28 200: 28 200:
29 description: "An object containing all info about the cleaned file" 29 description: ""
30 schema:
31 $ref: '#/definitions/UploadResponse'
32 404: 30 404:
33 description: "The filename, key or secret are wrong" \ No newline at end of file 31 description: "The filename, key or secret are wrong or the link is too old and the file has been deleted" \ No newline at end of file
diff --git a/matweb/oas/extension.yml b/matweb/oas/extension.yml
new file mode 100644
index 0000000..3e31034
--- /dev/null
+++ b/matweb/oas/extension.yml
@@ -0,0 +1,17 @@
1---
2tags:
3 - "Supported Extensions"
4summary: 'Returns a list of all supported file extensions'
5consumes:
6 - "application/json"
7produces:
8 - "application/json"
9
10responses:
11 200:
12 description: "A list of all supported file extensions"
13 schema:
14 type: "array"
15 items:
16 type: "string"
17 example: ".jpeg" \ No newline at end of file