From 7cff759f46f02edd8ebc19f076f385edc9b4e856 Mon Sep 17 00:00:00 2001 From: Phil Herbert Date: Mon, 14 Sep 2020 18:41:28 -0400 Subject: [PATCH] [#124] fixes more issues with documentation of service endpoints: * inbound_api and whitelist are both lists of ids --- documents/openapi/openapi.yaml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/documents/openapi/openapi.yaml b/documents/openapi/openapi.yaml index aa9c913b92..91af10e56e 100644 --- a/documents/openapi/openapi.yaml +++ b/documents/openapi/openapi.yaml @@ -1048,8 +1048,7 @@ components: inbound_api: type: array items: - type: string - format: url + $ref: '#/components/schemas/Id' inbound_number: $ref: '#/components/schemas/Id' inbound_sms: @@ -1124,16 +1123,7 @@ components: whitelist: type: array items: - properties: - email_addresses: - type: array - items: - type: string - format: email - phone_numbers: - type: array - items: - type: string + $ref: '#/components/schemas/Id' CreateTemplateRequest: type: object properties: