Skip to content

fix(library): handle circular schema references - #2854

Merged
Vincent Biret (baywet) merged 2 commits into
mainfrom
security/ref-loop
May 26, 2026
Merged

fix(library): handle circular schema references#2854
Vincent Biret (baywet) merged 2 commits into
mainfrom
security/ref-loop

Conversation

@baywet

Copy link
Copy Markdown
Member

Summary

  • Handle circular schema references without failing document loading.
  • Add regression coverage for circular schema references.

Testing

  • dotnet test .\test\Microsoft.OpenApi.Readers.Tests\Microsoft.OpenApi.Readers.Tests.csproj --no-restore --no-logo
  • dotnet test .\test\Microsoft.OpenApi.Tests\Microsoft.OpenApi.Tests.csproj --no-restore --no-logo

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@baywet

Copy link
Copy Markdown
Member Author

Copilot refresh the benchmark reports, change nothing else

Copilot AI commented May 26, 2026

Copy link
Copy Markdown
Contributor

Copilot refresh the benchmark reports, change nothing else

Done in 18637f9 — benchmark reports have been refreshed, and no other files were changed.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
6.2% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@baywet
Vincent Biret (baywet) merged commit b3cd42b into main May 26, 2026
15 of 18 checks passed
@baywet
Vincent Biret (baywet) deleted the security/ref-loop branch May 26, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants