Update nswag monorepo#2995
Conversation
Test Results 16 files ±0 16 suites ±0 4m 12s ⏱️ -6s Results for commit 0155026. ± Comparison against base commit 89d7c0c. This pull request removes 7 and adds 6 tests. Note that renamed tests count towards both. |
SummarySummary
CoverageAnalyzers.Tests - 96.9%
AspNetCore.FluentValidation.OpenApi.Tests - 46%
AspNetCore.Tests - 23.8%
Extensions.Tests - 88.8%
Metadata.Tests - 28.6%
Rocket.Surgery.LaunchPad.Analyzers - 90.1%
Rocket.Surgery.LaunchPad.AspNetCore - 49.7%
Rocket.Surgery.LaunchPad.AspNetCore.FluentValidation.OpenApi - 62.3%
Rocket.Surgery.LaunchPad.AspNetCore.Testing - 47.2%
Rocket.Surgery.LaunchPad.EntityFramework - 29.3%
Rocket.Surgery.LaunchPad.Foundation - 43.3%
Rocket.Surgery.LaunchPad.Foundation.NewtonsoftJson - 64.4%
Rocket.Surgery.LaunchPad.Grpc - 41.1%
Rocket.Surgery.LaunchPad.Hosting - 48%
Rocket.Surgery.LaunchPad.Mapping - 38.3%
Rocket.Surgery.LaunchPad.Metadata - 49.7%
Rocket.Surgery.LaunchPad.Primitives - 71.6%
Rocket.Surgery.LaunchPad.Serilog - 60%
Rocket.Surgery.LaunchPad.Spatial - 59.3%
Rocket.Surgery.LaunchPad.Spatial.NewtonsoftJson - 37.2%
Rocket.Surgery.LaunchPad.StrawberryShake - 47.8%
Rocket.Surgery.LaunchPad.StrawberryShake.Spatial - 8.8%
Rocket.Surgery.LaunchPad.Telemetry - 20.8%
Rocket.Surgery.LaunchPad.Testing - 13.2%
Sample.BlazorServer - 5.2%
Sample.BlazorServer.Tests - 29%
Sample.BlazorWasm.Tests - 15.7%
Sample.Classic.Restful - 3.5%
Sample.Classic.Restful.Tests - 41%
Sample.Command.Tests - 16.3%
Sample.Core - 75.8%
Sample.Core.Tests - 55.3%
Sample.Graphql.Tests - 58.9%
Sample.Grpc - 73.2%
Sample.Grpc.Tests - 41.7%
Sample.Minimal - 16.2%
Sample.Minimal.Tests - 28%
Sample.Pages - 5.6%
Sample.Pages.Tests - 29.6%
Sample.Restful - 4%
Sample.Restful.Tests - 40%
Sample.Worker.Tests - 16.3%
|
There was a problem hiding this comment.
Pull Request Overview
The implementation in this pull request does not align with its stated requirements. The title and description specify an update for a particular set of packages, but the code diff modifies a completely different, unrelated dependency. Consequently, the primary acceptance criterion—updating the intended package—remains unaddressed. This mismatch indicates that the intended changes are missing from the submission and should be corrected before the pull request is merged.
About this PR
- There is a total mismatch between the pull request title/description and the actual code changes. The submission claims to update one dependency but modifies a different one, leaving the intended update entirely missing from the diff.
Test suggestions
- Verify NSwag.ApiDescription.Client is updated to 14.7.1
- Verify FairyBread is updated to 12.0.0
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify NSwag.ApiDescription.Client is updated to 14.7.1
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
|
|
||
| <PackageVersion Include="FairyBread"> | ||
| <Version>11.0.0</Version> | ||
| <Version>12.0.0</Version> |
There was a problem hiding this comment.
🔴 HIGH RISK
This change modifies a dependency that does not match the package specified in the pull request title and description. The intended update is missing from the file changes.
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
14.5.0→14.7.1Release Notes
RicoSuter/NSwag (NSwag.ApiDescription.Client)
v14.7.1: NSwag v14.7.1 (NJsonSchema v11.6.1)Corrections to v14.7.0
v14.7.1 updates to NJsonSchema v11.6.1, which corrects the handling of the C#
requiredkeyword and[JsonRequired]:string?,T?) is preserved.MinLength=1on non-nullable strings.[Required]semantics remain unchanged (still suppresses nullability and addsMinLength=1to strings by default, matching its runtime behavior).Observable client changes vs v14.7.0
For
public required string[]? OptionList { get; init; }(#5359):optionList: string[]❌public string[] OptionList❌optionList: string[] | null✅public string[]? OptionList✅For full details and truth tables across all
required/[Required]/[JsonRequired]/[JsonProperty(Required=*)]combinations, see the NJsonSchema v11.6.1 release notes and NJsonSchema #1919.What's Changed
Full Changelog: RicoSuter/NSwag@v14.7.0...v14.7.1
v14.7.0: NSwag v14.7.0 (NJsonSchema v11.6.0)What's Changed
NSwag.Npmresulting in aNConsole.UnusedArgumentExceptionby @ptasev in #5320NJsonSchema v11.6.0 (potentially breaking changes)
This release updates to NJsonSchema v11.6.0 and Namotion.Reflection v3.5.0, which include the following changes that may affect generated code:
requiredkeyword now correctly recognized: Properties using the C# 11requiredkeyword (viaRequiredMemberAttribute/JsonRequiredAttribute) are now properly treated as required in the schema and generated code. Previously these were incorrectly treated as optional.WriteAccessorsetting to control property setter syntax (setvsinit).JsonLibraryVersionsetting for controlling enum attribute generation with System.Text.Json.MinLengthvalidation no longer incorrectly applied to DateTime properties.IncludeFieldsis enabled.For the full list of changes, see the NJsonSchema v11.6.0 release notes.
New Contributors
Full Changelog: RicoSuter/NSwag@v14.6.3...v14.7.0
v14.6.3: NSwag v14.6.3 (NJsonSchema v11.5.2)What's Changed
New Contributors
Full Changelog: RicoSuter/NSwag@v14.6.2...v14.6.3
v14.6.2: NSwag v14.6.2 (NJsonSchema v11.5.2)Fixes EnumValue regression in v14.6.1 by introducing a new JsonLibraryVersion configuration (default 8.0)
What's Changed
Full Changelog: RicoSuter/NSwag@v14.6.1...v14.6.2
v14.6.1: NSwag v14.6.1 (NJsonSchema v11.5.1)What's Changed
New Contributors
Full Changelog: RicoSuter/NSwag@v14.6.0...v14.6.1
v14.6.0: NSwag v14.6.0 (NJsonSchema v11.5.0)What's Changed
New Contributors
Full Changelog: RicoSuter/NSwag@v14.5.0...v14.6.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.