NSwag v14.6.1#795
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates the NSwag packages to version 14.6.1 and adds System.Text.Json as an explicit dependency to the test projects. The changes ensure the project uses the latest NSwag features and bug fixes while enabling proper JSON handling capabilities in unit tests.
Key changes:
- Upgraded NSwag.CodeGeneration.CSharp and NSwag.Core.Yaml from 14.6.0 to 14.6.1
- Added System.Text.Json 9.0.10 to test projects to support JSON serialization/deserialization in tests
Reviewed Changes
Copilot reviewed 4 out of 10 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/Refitter.Core/Refitter.Core.csproj | Updated NSwag packages to version 14.6.1 in the core library |
| src/Refitter.SourceGenerator/Refitter.SourceGenerator.csproj | Updated NSwag packages to version 14.6.1 in the source generator |
| src/Refitter.Tests/Refitter.Tests.csproj | Added System.Text.Json 9.0.10 package reference |
| src/Refitter.SourceGenerator.Tests/Refitter.SourceGenerator.Tests.csproj | Added System.Text.Json 9.0.10 package reference |
WalkthroughBumped NSwag packages from 14.6.0 to 14.6.1 in core and source-generator projects; added PackageReference to System.Text.Json 9.0.9 in two test projects. No code or public API changes present. Changes
Sequence Diagram(s)(omitted — changes are package/version updates only, no control-flow modifications) Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



This pull request updates several project dependencies and adds a new package to the test projects. The main changes are version bumps for the
NSwag.CodeGeneration.CSharpandNSwag.Core.Yamlpackages across multiple projects, and the inclusion ofSystem.Text.Jsonin the test projects to support JSON serialization and deserialization in tests.Dependency Updates:
NSwag.CodeGeneration.CSharpandNSwag.Core.Yamlfrom version 14.6.0 to 14.6.1 inRefitter.Core.csprojandRefitter.SourceGenerator.csprojto ensure compatibility with the latest features and bug fixes. [1] [2]Test Project Enhancements:
System.Text.Jsonversion 9.0.10 as a dependency toRefitter.SourceGenerator.Tests.csprojandRefitter.Tests.csprojto enable JSON handling in unit tests. [1] [2]Summary by CodeRabbit