Skip to main content

Circular ref via additionalProperties

GET 

/org-chart

An org chart where the value type of additionalProperties references the parent schema. Tests circular refs in the additionalProperties position.

Schema:

OrgChart:
type: object
properties:
name:
type: string
title:
type: string
additionalProperties:
$ref: "#/components/schemas/OrgChart"

Responses

An org chart node