From a503d19eaeb2074031441dfa19fdf930952252fa Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Wed, 12 Jan 2022 16:27:27 -0800 Subject: [PATCH] =?UTF-8?q?openapi:=20Declare=20items:=20{}=20for=20?= =?UTF-8?q?=E2=80=9Cinherited=E2=80=9D=20array=20properties.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should not be needed, but works around an openapi-core bug: https://github.com/p1c2u/openapi-core/issues/380 Signed-off-by: Anders Kaseorg --- zerver/openapi/zulip.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml index b1d959e4de..0fa4065c58 100644 --- a/zerver/openapi/zulip.yaml +++ b/zerver/openapi/zulip.yaml @@ -13745,7 +13745,8 @@ components: avatar_url: {} owner_id: nullable: true - services: {} + services: + items: {} # https://github.com/p1c2u/openapi-core/issues/380 BasicBotBase: type: object properties: @@ -13852,7 +13853,8 @@ components: avatar_url: {} owner_id: nullable: true - services: {} + services: + items: {} # https://github.com/p1c2u/openapi-core/issues/380 email: type: string description: |