Skip to content

chore(deps): Bump NSwag.AspNetCore from 14.7.0 to 14.7.1#93

Merged
LaurentAerens merged 2 commits intomainfrom
dependabot/nuget/src/Arcus.ClamAV/NSwag.AspNetCore-14.7.1
May 4, 2026
Merged

chore(deps): Bump NSwag.AspNetCore from 14.7.0 to 14.7.1#93
LaurentAerens merged 2 commits intomainfrom
dependabot/nuget/src/Arcus.ClamAV/NSwag.AspNetCore-14.7.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 4, 2026

Updated NSwag.AspNetCore from 14.7.0 to 14.7.1.

Release notes

Sourced from NSwag.AspNetCore's releases.

14.7.1

[!IMPORTANT]
Upgrade directly from v14.6.3 to v14.7.1 — skip v14.7.0.

v14.7.0 bundled NJsonSchema v11.6.0, which contained a regression that silently dropped nullability on required T? / [JsonRequired] T? DTO properties. The resulting OpenAPI/JSON schema marked those properties as non-nullable, so generated TypeScript and C# clients lost null-safety for fields the server can legitimately return as null (#​5359).

Corrections to v14.7.0

v14.7.1 updates to NJsonSchema v11.6.1, which corrects the handling of the C# required keyword and [JsonRequired]:

  • These are now treated as presence markers (the property must be present in the JSON) rather than value constraints.
  • Nullability from the declared type (string?, T?) is preserved.
  • No spurious MinLength=1 on non-nullable strings.
  • DataAnnotations [Required] semantics remain unchanged (still suppresses nullability and adds MinLength=1 to strings by default, matching its runtime behavior).

Observable client changes vs v14.7.0

For public required string[]? OptionList { get; init; } (#​5359):

TypeScript client C# client
v14.7.0 (broken) optionList: string[] public string[] OptionList
v14.7.1 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

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: NSwag.AspNetCore
  dependency-version: 14.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added chore dependencies Pull requests that update a dependency file labels May 4, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

PR Size Analysis

Metric Value
Files Changed 1
Lines Added 1
Lines Deleted 1
Total Changes 2
Category XS

✅ Good PR size for review

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

⚡ Performance Metrics

Startup Time (container launch → /healthz 200): 6631ms

Metric Value
Docker Image Size 430MB (.42GB)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

Test Results (Unit + BlackBox)

240 tests  ±0   240 ✅ ±0   6s ⏱️ -1s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 8952167. ± Comparison against base commit 3d850d2.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

📈 Code Coverage Report for Arcus.ClamAV

Metric Value
Line Coverage 78%
Report View on Codecov

For detailed coverage information, see the Codecov report.

@github-actions github-actions Bot added size: XS and removed size: XS labels May 4, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

PR Size Analysis

Metric Value
Files Changed 1
Lines Added 1
Lines Deleted 1
Total Changes 2
Category XS

✅ Good PR size for review

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

⚡ Performance Metrics

Startup Time (container launch → /healthz 200): 5718ms

Metric Value
Docker Image Size 430MB (.42GB)

@LaurentAerens LaurentAerens merged commit 57e3e95 into main May 4, 2026
18 checks passed
@LaurentAerens LaurentAerens deleted the dependabot/nuget/src/Arcus.ClamAV/NSwag.AspNetCore-14.7.1 branch May 4, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore dependencies Pull requests that update a dependency file size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nullable required fields are marked as not null in typescript & C#

1 participant