From ca5e52920d5fd8388fc1f62f0a98908adfc69c08 Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 15 Aug 2018 17:52:13 -0700 Subject: Add fee recipients test --- .../schemas/relayer_api_fee_recipients_response_schema.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'packages/json-schemas/schemas') diff --git a/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.ts b/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.ts index 84d39eb20..150f07af4 100644 --- a/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.ts +++ b/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.ts @@ -5,9 +5,15 @@ export const relayerApiFeeRecipientsResponseSchema = { { $ref: '/paginatedCollectionSchema' }, { properties: { - records: { $ref: '/addressSchema' }, + records: { $ref: '/relayerApiFeeRecipientsSchema' }, }, required: ['records'], }, ], }; + +export const relayerApiFeeRecipientsSchema = { + id: '/relayerApiFeeRecipientsSchema', + type: 'array', + items: { $ref: '/addressSchema' }, +}; -- cgit v1.2.3