Skip to content

Commit 0820b28

Browse files
authored
Merge pull request #77 from bcgov/docs/api-spec
Add schemas for GET metadata/tag endpoints.
2 parents 316dae9 + 27b48ef commit 0820b28

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

app/src/docs/v1.api-spec.yaml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,12 @@ paths:
392392
responses:
393393
'200':
394394
description: Returns an array of matching key/value pairs.
395+
content:
396+
application/json:
397+
schema:
398+
type: array
399+
items:
400+
$ref: '#/components/schemas/S3-TagSet'
395401
'422':
396402
$ref: '#/components/responses/UnprocessableEntity'
397403
default:
@@ -412,7 +418,7 @@ paths:
412418
- $ref: '#/components/parameters/Query-VersionId'
413419
responses:
414420
'204':
415-
description: The resource was added successfully.
421+
$ref: '#/components/responses/NoContent'
416422
'401':
417423
$ref: '#/components/responses/Unauthorized'
418424
'403':
@@ -436,7 +442,7 @@ paths:
436442
- $ref: '#/components/parameters/Query-VersionId'
437443
responses:
438444
'204':
439-
description: The resource was added successfully.
445+
$ref: '#/components/responses/NoContent'
440446
'401':
441447
$ref: '#/components/responses/Unauthorized'
442448
'403':
@@ -462,7 +468,7 @@ paths:
462468
- $ref: '#/components/parameters/Query-VersionId'
463469
responses:
464470
'204':
465-
description: The resource was deleted successfully.
471+
$ref: '#/components/responses/NoContent'
466472
'401':
467473
$ref: '#/components/responses/Unauthorized'
468474
'403':
@@ -483,6 +489,12 @@ paths:
483489
responses:
484490
'200':
485491
description: Returns an array of matching key/value pairs.
492+
content:
493+
application/json:
494+
schema:
495+
type: array
496+
items:
497+
$ref: '#/components/schemas/S3-TagSet'
486498
'422':
487499
$ref: '#/components/responses/UnprocessableEntity'
488500
default:
@@ -502,7 +514,7 @@ paths:
502514
- $ref: '#/components/parameters/Query-VersionId'
503515
responses:
504516
'204':
505-
description: The resource was added successfully.
517+
$ref: '#/components/responses/NoContent'
506518
'401':
507519
$ref: '#/components/responses/Unauthorized'
508520
'403':
@@ -525,7 +537,7 @@ paths:
525537
- $ref: '#/components/parameters/Query-VersionId'
526538
responses:
527539
'204':
528-
description: The resource was added successfully.
540+
$ref: '#/components/responses/NoContent'
529541
'401':
530542
$ref: '#/components/responses/Unauthorized'
531543
'403':
@@ -549,7 +561,7 @@ paths:
549561
- $ref: '#/components/parameters/Query-VersionId'
550562
responses:
551563
'204':
552-
description: The resource was deleted successfully.
564+
$ref: '#/components/responses/NoContent'
553565
'401':
554566
$ref: '#/components/responses/Unauthorized'
555567
'403':

0 commit comments

Comments
 (0)