Skip to content

Commit 78fd612

Browse files
committed
Updated tests
1 parent 41a83b6 commit 78fd612

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/yaml-filter-unused-components-path/input.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ components:
8989
properties:
9090
bar:
9191
type: boolean
92+
# — A self-referenced schema
93+
selfRefSchema:
94+
type: object
95+
properties:
96+
children:
97+
type: array
98+
items:
99+
$ref: "#/components/schemas/selfRefSchema"
92100
responses:
93101
# — used by POST /pets
94102
ResponseUsed:

0 commit comments

Comments
 (0)