Skip to content

Commit 88eb2a2

Browse files
committed
refact
1 parent e7ac045 commit 88eb2a2

File tree

14 files changed

+597
-1045
lines changed

14 files changed

+597
-1045
lines changed

specs/application/labels.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ paths:
7474
required:
7575
- appId
7676
- appName
77-
- $ref: '../common/schemas.yaml#/components/schemas/AppLabel'
77+
- $ref: '../common/delete-options.yaml#/components/schemas/AppLabel'
7878
examples:
7979
all_labels:
8080
summary: All labels response
@@ -110,7 +110,7 @@ paths:
110110
content:
111111
application/json:
112112
schema:
113-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
113+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
114114
'401':
115115
description: Authentication required or token invalid
116116
content:
@@ -148,7 +148,7 @@ paths:
148148
content:
149149
application/json:
150150
schema:
151-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
151+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
152152
'500':
153153
description: Internal server error
154154
content:
@@ -170,7 +170,7 @@ paths:
170170
content:
171171
application/json:
172172
schema:
173-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
173+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
174174
tags:
175175
- Application Labels
176176

@@ -205,45 +205,45 @@ paths:
205205
description: Status
206206
result:
207207
allOf:
208-
- $ref: '../common/schemas.yaml#/components/schemas/AppMetaInfo'
208+
- $ref: '../common/delete-options.yaml#/components/schemas/AppMetaInfo'
209209
- type: object
210210
properties:
211211
gitMaterials:
212212
type: array
213213
items:
214-
$ref: '../common/schemas.yaml#/components/schemas/GitMaterialMeta'
214+
$ref: '../common/delete-options.yaml#/components/schemas/GitMaterialMeta'
215215
templateConfig:
216-
$ref: '../common/schemas.yaml#/components/schemas/TemplateConfig'
216+
$ref: '../common/delete-options.yaml#/components/schemas/TemplateConfig'
217217
'400':
218218
description: Bad request
219219
content:
220220
application/json:
221221
schema:
222-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
222+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
223223
'401':
224224
description: Unauthorized
225225
content:
226226
application/json:
227227
schema:
228-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
228+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
229229
'404':
230230
description: Application not found
231231
content:
232232
application/json:
233233
schema:
234-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
234+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
235235
'500':
236236
description: Internal server error
237237
content:
238238
application/json:
239239
schema:
240-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
240+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
241241
default:
242242
description: Unexpected error
243243
content:
244244
application/json:
245245
schema:
246-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
246+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
247247
tags:
248248
- Application Metadata
249249

@@ -277,45 +277,45 @@ paths:
277277
description: Status
278278
result:
279279
allOf:
280-
- $ref: '../common/schemas.yaml#/components/schemas/AppMetaInfo'
280+
- $ref: '../common/delete-options.yaml#/components/schemas/AppMetaInfo'
281281
- type: object
282282
properties:
283283
chartUsed:
284-
$ref: '../common/schemas.yaml#/components/schemas/ChartUsed'
284+
$ref: '../common/delete-options.yaml#/components/schemas/ChartUsed'
285285
gitMaterials:
286286
type: array
287287
items:
288-
$ref: '../common/schemas.yaml#/components/schemas/GitMaterialMeta'
288+
$ref: '../common/delete-options.yaml#/components/schemas/GitMaterialMeta'
289289
'400':
290290
description: Bad request
291291
content:
292292
application/json:
293293
schema:
294-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
294+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
295295
'401':
296296
description: Unauthorized
297297
content:
298298
application/json:
299299
schema:
300-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
300+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
301301
'404':
302302
description: Application not found
303303
content:
304304
application/json:
305305
schema:
306-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
306+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
307307
'500':
308308
description: Internal server error
309309
content:
310310
application/json:
311311
schema:
312-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
312+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
313313
default:
314314
description: Unexpected error
315315
content:
316316
application/json:
317317
schema:
318-
$ref: '../common/schemas.yaml#/components/schemas/ErrorResponse'
318+
$ref: '../common/delete-options.yaml#/components/schemas/ErrorResponse'
319319
tags:
320320
- Helm Application Metadata
321321

0 commit comments

Comments
 (0)