Self-referencing tree node
GET/tree-node
A tree node whose children array references itself. The simplest
circular reference pattern.
Schema:
TreeNode:
type: object
properties:
id:
type: integer
label:
type: string
children:
type: array
items:
$ref: "#/components/schemas/TreeNode"
Responses
- 200
A tree node