Skip to content

Commit 45e3cac

Browse files
Fix comment
Copy-pasted into the wrong place during a refactor.
1 parent 2c70dc5 commit 45e3cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Validations/Rules/OpenApiDocumentRules.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ private void ValidateSchemaReference(OpenApiSchemaReference reference)
9393
{
9494
if (reference.RecursiveTarget is not null)
9595
{
96+
// The reference was followed to a valid schema somewhere in the document
9697
return;
9798
}
9899
}
99100
catch (InvalidOperationException ex)
100101
{
101-
// The reference was followed to a valid schema somewhere in the document
102102
context.Enter(segment);
103103
context.CreateWarning(ruleName, ex.Message);
104104
context.Exit();

0 commit comments

Comments
 (0)