Co-authored-by: Michael Hoennig <michael@hoennig.de> Co-authored-by: Michael Hönnig <michael@hoennig.de> Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/103 Reviewed-by: Marc Sandlus <marc.sandlus@hostsharing.net>
26 lines
809 B
YAML
26 lines
809 B
YAML
get:
|
|
tags:
|
|
- testPackages
|
|
operationId: listPackages
|
|
parameters:
|
|
- $ref: 'auth.yaml#/components/parameters/currentSubject'
|
|
- $ref: 'auth.yaml#/components/parameters/assumedRoles'
|
|
- name: name
|
|
in: query
|
|
required: false
|
|
schema:
|
|
type: string
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
content:
|
|
'application/json':
|
|
schema:
|
|
type: array
|
|
items:
|
|
$ref: 'test-package-schemas.yaml#/components/schemas/TestPackage'
|
|
"401":
|
|
$ref: 'error-responses.yaml#/components/responses/Unauthorized'
|
|
"403":
|
|
$ref: 'error-responses.yaml#/components/responses/Forbidden'
|