Skip to content

Commit e271a87

Browse files
committed
refact
1 parent 50125b8 commit e271a87

File tree

6 files changed

+21
-9
lines changed

6 files changed

+21
-9
lines changed

specs/deployment/app-type-change.yaml renamed to specs/bulk/deployment-type-change.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.3
22
info:
33
version: 1.0.0
4-
title: Application Type Change API
4+
title: Bulk Deployment Type Change API
55
paths:
66
/orchestrator/app/cd-pipeline/patch/deployment:
77
post:
File renamed without changes.
File renamed without changes.

specs/helm/charts.yaml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,18 @@ components:
101101
type: string
102102
description: Notes content
103103

104+
ErrorResponse:
105+
required:
106+
- code
107+
- message
108+
properties:
109+
code:
110+
type: integer
111+
description: Error code
112+
message:
113+
type: string
114+
description: Error message
115+
104116
paths:
105117
/app-store/installed-app:
106118
get:
@@ -193,25 +205,25 @@ paths:
193205
content:
194206
application/json:
195207
schema:
196-
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
208+
$ref: '#/components/schemas/ErrorResponse'
197209
'401':
198210
description: Unauthorized
199211
content:
200212
application/json:
201213
schema:
202-
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
214+
$ref: '#/components/schemas/ErrorResponse'
203215
'500':
204216
description: Internal server error
205217
content:
206218
application/json:
207219
schema:
208-
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
220+
$ref: '#/components/schemas/ErrorResponse'
209221
default:
210222
description: Unexpected error
211223
content:
212224
application/json:
213225
schema:
214-
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
226+
$ref: '#/components/schemas/ErrorResponse'
215227
tags:
216228
- Helm Charts
217229
/app-store/installed-app/notes:
@@ -255,25 +267,25 @@ paths:
255267
content:
256268
application/json:
257269
schema:
258-
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
270+
$ref: '#/components/schemas/ErrorResponse'
259271
'401':
260272
description: Unauthorized
261273
content:
262274
application/json:
263275
schema:
264-
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
276+
$ref: '#/components/schemas/ErrorResponse'
265277
'404':
266278
description: Chart or notes not found
267279
content:
268280
application/json:
269281
schema:
270-
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
282+
$ref: '#/components/schemas/ErrorResponse'
271283
'500':
272284
description: Error while fetching notes.txt
273285
content:
274286
application/json:
275287
schema:
276-
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
288+
$ref: '#/components/schemas/ErrorResponse'
277289
tags:
278290
- Helm Charts
279291

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)