Skip to content

Commit 02eacc9

Browse files
committed
specs enhance
1 parent 95dfbd0 commit 02eacc9

File tree

2 files changed

+333
-19
lines changed

2 files changed

+333
-19
lines changed

specs/application/labels.yaml

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,24 @@ paths:
5656
type: string
5757
description: status
5858
result:
59-
$ref: '#/components/schemas/AppMetaInfo'
59+
allOf:
60+
- $ref: '#/components/schemas/AppMetaInfo'
61+
- type: object
62+
properties:
63+
gitMaterials:
64+
type: array
65+
items:
66+
$ref: '#/components/schemas/GitMaterialMeta'
67+
templateConfig:
68+
$ref: '#/components/schemas/TemplateConfig'
6069
default:
6170
description: unexpected error
6271
content:
6372
application/json:
6473
schema:
6574
$ref: '#/components/schemas/ErrorResponse'
6675

67-
/orchestrator/helm/meta/info/{appId}:
76+
/orchestrator/app/helm/meta/info/{appId}:
6877
get:
6978
description: application info for all types of helm apps
7079
parameters:
@@ -200,15 +209,28 @@ components:
200209
type: string
201210
description: Original git URL
202211

212+
TemplateConfig:
213+
type: object
214+
properties:
215+
id:
216+
type: integer
217+
description: Template config ID
218+
identifier:
219+
type: string
220+
description: Template identifier
221+
name:
222+
type: string
223+
description: Template name
224+
203225
GenericNoteResponse:
204226
type: object
205227
properties:
206228
id:
207229
type: integer
208230
description: Note ID
209-
note:
231+
description:
210232
type: string
211-
description: Note content
233+
description: Note content/description
212234
createdOn:
213235
type: string
214236
format: date-time

0 commit comments

Comments
 (0)