Skip to content

feat/converter to v2 - #2924

Merged
Vincent Biret (baywet) merged 2 commits into
support/v2from
feat/converter-to-v2
Jul 2, 2026
Merged

feat/converter to v2#2924
Vincent Biret (baywet) merged 2 commits into
support/v2from
feat/converter-to-v2

Conversation

@baywet

Copy link
Copy Markdown
Member

port of #2915 to v2

Mahdiglnand others added 2 commits July 2, 2026 12:44
…ion (#2915)
* feat: add JsonConverter for OpenApiSchema System.Text.Json serialization
* fix: address review comments on OpenApiSchemaJsonConverter
* refactor: pass JsonNode directly to reader and improve reference tests
* fix: throw explicit JsonException on null node and add reference regression test
* chore: reverts noisy global.json change
* chore: reduce allocations during serialization
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
* chore: restores system import
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
* fix: do not serialize BOM
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
---------
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Co-authored-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@github-code-quality

Copy link
Copy Markdown

Code Coverage Overview

Languages: C#

C# / code-coverage/dotnet

The overall coverage in the feat/converter-to-v2 branch is 41%. The coverage in the support/v2 branch is 88%.

Show a code coverage summary of the most impacted files.
Filesupport/v22f8b3d2feat/converter-to-v2ebe93ff+/-
/home/runner/wo...MapParameter.cs100%0%-100%
/home/runner/wo...Deserializer.cs81%0%-81%
/home/runner/wo...pyReferences.cs63%31%-32%
/home/runner/wo...piJsonReader.cs100%72%-28%
/home/runner/wo...Deserializer.cs90%62%-28%
/home/runner/wo...s/OpenApiTag.cs100%76%-24%
/home/runner/wo...Deserializer.cs100%81%-19%
/home/runner/wo...Deserializer.cs96%81%-15%
/home/runner/wo...Deserializer.cs97%89%-8%
/home/runner/wo...piComponents.cs94%87%-7%

Code Coverage is in Public Preview. Learn more and provide us with your feedback.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate FailedQuality Gate failed

Failed conditions
77.8% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@baywet
Vincent Biret (baywet) merged commit 0259f44 into support/v2Jul 2, 2026
16 of 17 checks passed
@baywet
Vincent Biret (baywet) deleted the feat/converter-to-v2 branch July 2, 2026 17:35
Sign up for freeto 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

@baywet@peombwa@Mahdigln