Skip to content

Commit 3834282

Browse files
committed
feat: #2 Report description enhancements on /secrets/* endpoints
Signed-off-by: Laurent Broudoux <[email protected]>
1 parent 10344d6 commit 3834282

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

api/microcks-openapi-v1.10.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,21 @@ paths:
392392
summary: Get Secret
393393
description: Retrieve a Secret
394394
put:
395+
requestBody:
396+
description: The Secret to update
397+
content:
398+
application/json:
399+
schema:
400+
$ref: '#/components/schemas/Secret'
401+
required: true
395402
tags:
396403
- config
397404
responses:
398405
"200":
406+
content:
407+
application/json:
408+
schema:
409+
$ref: '#/components/schemas/Secret'
399410
description: Updated Secret
400411
security:
401412
- jwt-bearer:
@@ -1104,6 +1115,31 @@ paths:
11041115
operationId: downloadArtifact
11051116
summary: Download an artifact
11061117
description: Ask Microcks to download an artifact and import it
1118+
/secrets/search:
1119+
get:
1120+
tags:
1121+
- config
1122+
parameters:
1123+
- name: name
1124+
description: Search using this name-like criterion
1125+
schema:
1126+
type: string
1127+
in: query
1128+
required: true
1129+
responses:
1130+
"200":
1131+
content:
1132+
application/json:
1133+
schema:
1134+
type: array
1135+
items:
1136+
$ref: '#/components/schemas/Secret'
1137+
description: List of found Secrets (filtered according search criteria)
1138+
security:
1139+
- jwt-bearer:
1140+
- admin
1141+
operationId: SearchSecrets
1142+
summary: Search for Secrets
11071143
components:
11081144
schemas:
11091145
TestCaseResult:

0 commit comments

Comments
 (0)