Skip to content

Commit d14f3d1

Browse files
committed
fix: move status to Configuration.yml
1 parent 99566f3 commit d14f3d1

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

specs/ai-personalization/common/schemas/Configuration.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,13 @@ eventType:
6363
subtype:
6464
type: string
6565
enum: [addToCart, purchase]
66+
67+
status:
68+
type: object
69+
properties:
70+
type:
71+
$ref: '../enums.yml#/status'
72+
errors:
73+
type: array
74+
items:
75+
$ref: '../enums.yml#/errorCodes'

specs/ai-personalization/paths/config.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,7 @@ get:
5454
profileType:
5555
$ref: '../common/schemas/Configuration.yml#/profileType'
5656
status:
57-
title: status
58-
type: object
59-
properties:
60-
type:
61-
$ref: '../common/enums.yml#/status'
62-
errors:
63-
type: array
64-
items:
65-
$ref: '../common/enums.yml#/errorCodes'
57+
$ref: '../common/schemas/Configuration.yml#/status'
6658
required: [indices, personalzationReRanking, profileType, status]
6759
'401':
6860
$ref: '../common/responses/Unauthorized.yml'

0 commit comments

Comments
 (0)