Skip to content

Commit ec313c9

Browse files
committed
fix errors in swagger
1 parent 1d91826 commit ec313c9

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

public/swagger.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ paths:
273273
schema:
274274
type: array
275275
items:
276-
$ref: '#/components/parameters/fileId'
276+
$ref: '#/components/schemas/UUID'
277277
'401':
278278
$ref: '#/components/responses/Unauthorized'
279279
404:
@@ -1239,6 +1239,7 @@ paths:
12391239
post:
12401240
tags:
12411241
- files
1242+
summary: Removes a tag from a file
12421243
parameters:
12431244
- name: id
12441245
in: path
@@ -2656,7 +2657,7 @@ paths:
26562657
description: OK
26572658
content: {}
26582659

2659-
/datasets/:id/queueArchival:
2660+
/datasets/{id}/queueArchival:
26602661
post:
26612662
tags:
26622663
- datasets
@@ -2676,7 +2677,7 @@ paths:
26762677
404:
26772678
$ref: '#/components/responses/NotFound'
26782679

2679-
/datasets/:id/queueUnarchival:
2680+
/datasets/{id}/queueUnarchival:
26802681
post:
26812682
tags:
26822683
- datasets
@@ -3320,6 +3321,7 @@ paths:
33203321
post:
33213322
tags:
33223323
- datasets
3324+
summary: remove a tag from a dataset
33233325
parameters:
33243326
- name: id
33253327
in: path
@@ -4116,6 +4118,7 @@ paths:
41164118
post:
41174119
tags:
41184120
- collections
4121+
summary: Remove a dataset from a collection.
41194122
parameters:
41204123
- name: coll_id
41214124
in: path
@@ -4142,6 +4145,7 @@ paths:
41424145
post:
41434146
tags:
41444147
- collections
4148+
summary: remove a collection
41454149
parameters:
41464150
- name: coll_id
41474151
in: path
@@ -5792,6 +5796,7 @@ paths:
57925796
post:
57935797
tags:
57945798
- section
5799+
summary: remove a tag from a section
57955800
parameters:
57965801
- name: id
57975802
in: path
@@ -6160,9 +6165,7 @@ paths:
61606165
in: path
61616166
required: true
61626167
schema:
6163-
type: array
6164-
items:
6165-
$ref: '#/components/parameters/fileId'
6168+
type: string
61666169
requestBody:
61676170
content:
61686171
application/json:
@@ -6197,6 +6200,9 @@ components:
61976200
# Models #
61986201
##############################################################################
61996202
schemas:
6203+
UUID:
6204+
type: string
6205+
description: ID of an object
62006206
File:
62016207
type: object
62026208
description: holds all information about a file

0 commit comments

Comments
 (0)