-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Description
Version: 3.1.2
Array schemas display incorrect title of the item schema - same as the array schema. The issue applies to both 2.0 and 3.0 specs.
2.0 spec:
swagger: '2.0'
info:
version: 0.0.0
title: test
paths: {}
definitions:
ArrayOfFoo:
type: array
items:
$ref: '#/definitions/Foo'
Foo:
type: object
properties:
bar:
type: string
3.0 spec:
openapi: 3.0.0
info:
version: 0.0.0
title: test
paths: {}
components:
schemas:
ArrayOfFoo:
type: array
items:
$ref: '#/components/schemas/Foo'
Foo:
type: object
properties:
bar:
type: string
