openapi: Declare items: {} for “inherited” array properties.

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 <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-01-12 16:27:27 -08:00 committed by Tim Abbott
parent 6c25c628b1
commit a503d19eae

View File

@ -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: |