Skip to content

Commit 116b56d

Browse files
committed
- fixes failing test
Signed-off-by: Vincent Biret <[email protected]>
1 parent aad81ef commit 116b56d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/Microsoft.OpenApi.Tests/Writers/OpenApiYamlWriterTests.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,12 @@ public void WriteInlineRecursiveSchemav2()
618618
type: object
619619
properties:
620620
children:
621-
$ref: '#/definitions/thing'
621+
type: object
622+
properties:
623+
children:
624+
$ref: '#/definitions/thing'
625+
related:
626+
type: integer
622627
related:
623628
type: integer";
624629
// Component schemas that are there due to cycles are still inlined because the items they reference may not exist in the components because they don't have cycles.

0 commit comments

Comments
 (0)