From 22063d2e4d9caae06ce663bdfb154687753efc8f Mon Sep 17 00:00:00 2001 From: leeBigCommerce Date: Thu, 2 Mar 2023 13:18:47 +1100 Subject: [PATCH] PROMO-702 [fix] tighten definitions within channels reference --- reference/channels.v3.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reference/channels.v3.yml b/reference/channels.v3.yml index 2c8a36cfd..0b58af17d 100644 --- a/reference/channels.v3.yml +++ b/reference/channels.v3.yml @@ -1096,6 +1096,9 @@ components: $ref: '#/components/schemas/ChannelWithoutCurrencies' meta: $ref: '#/components/schemas/MetaWithFullPagination' + required: + - data + - meta examples: response: $ref: '#/components/examples/multiple_channels_without_currencies_resp_example' @@ -2670,6 +2673,9 @@ components: $ref: '#/components/schemas/ChannelDateModified' icon_url: $ref: '#/components/schemas/IconUrl' + required: + - id + - name x-internal: false ChannelWithCurrencies: type: object