diff --git a/spec/namespaces/notifications.yaml b/spec/namespaces/notifications.yaml index c34ad915..37973508 100644 --- a/spec/namespaces/notifications.yaml +++ b/spec/namespaces/notifications.yaml @@ -254,18 +254,7 @@ components: channel_list: type: array items: - type: object - properties: - config_id: - type: string - name: - type: string - description: - type: string - config_type: - $ref: '../schemas/notifications._common.yaml#/components/schemas/NotificationConfigType' - is_enabled: - type: boolean + $ref: '../schemas/notifications._common.yaml#/components/schemas/NotificationChannel' notifications.list_features@200: description: '' content: diff --git a/spec/schemas/notifications._common.yaml b/spec/schemas/notifications._common.yaml index e85bee4c..2ddcfc6a 100644 --- a/spec/schemas/notifications._common.yaml +++ b/spec/schemas/notifications._common.yaml @@ -291,3 +291,16 @@ components: type: object additionalProperties: type: string + NotificationChannel: + type: object + properties: + config_id: + type: string + name: + type: string + description: + type: string + config_type: + $ref: '#/components/schemas/NotificationConfigType' + is_enabled: + type: boolean