Skip to content

[main] Bump NJsonSchema from 11.5.2 to 11.6.0#9215

Merged
wiktork merged 1 commit intomainfrom
dependabot/nuget/eng/dependabot/independent/main/NJsonSchema-11.6.0
Apr 16, 2026
Merged

[main] Bump NJsonSchema from 11.5.2 to 11.6.0#9215
wiktork merged 1 commit intomainfrom
dependabot/nuget/eng/dependabot/independent/main/NJsonSchema-11.6.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 9, 2026

Updated NJsonSchema from 11.5.2 to 11.6.0.

Release notes

Sourced from NJsonSchema's releases.

11.6.0

Potentially breaking changes

  • C# 11 required keyword now recognized as required: Properties using the C# 11 required keyword (RequiredMemberAttribute / JsonRequiredAttribute) are now correctly treated as required in schema generation and code output. Previously these were incorrectly treated as optional (Required.Default). This changes generated code: such properties now get Required.Always, [Required] attribute, and the required modifier when UseRequiredKeyword is enabled. (#​1908)
  • Both JsonStringEnumMemberName and EnumMember attributes are now emitted for enum members when using System.Text.Json, for compatibility with NSwag's reflection-based URL parameter serialization. (#​1905)
  • $schema version preserved in ToJson() instead of forcing draft-04. If you relied on the output always being draft-04, this may affect you. (#​1881)
  • patternProperties validation now correctly applies to all matching properties, not just the first. (#​1898)
  • MinLength no longer incorrectly applied to DateTime, DateTimeOffset, DateOnly, TimeOnly properties. (#​1900)

What's Changed

New Contributors

Full Changelog: RicoSuter/NJsonSchema@v11.5.2...v11.6.0

Commits viewable in compare view.

@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Apr 9, 2026
@dependabot dependabot bot requested a review from a team as a code owner April 9, 2026 16:36
@dependabot dependabot bot added dependencies Pull requests that update a dependency file .NET Pull requests that update .net code labels Apr 9, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 15, 2026

Dependabot received an unexpected response from a private package registry. Because of this, Dependabot cannot update this pull request.

wiktork
wiktork previously approved these changes Apr 15, 2026
@wiktork wiktork enabled auto-merge (squash) April 15, 2026 04:18
@dependabot dependabot bot force-pushed the dependabot/nuget/eng/dependabot/independent/main/NJsonSchema-11.6.0 branch from bc07f78 to 46dca0a Compare April 15, 2026 08:56
@wiktork
Copy link
Copy Markdown
Member

wiktork commented Apr 16, 2026

@dependabot rebase

---
updated-dependencies:
- dependency-name: NJsonSchema
  dependency-version: 11.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/nuget/eng/dependabot/independent/main/NJsonSchema-11.6.0 branch from 46dca0a to ec6d398 Compare April 16, 2026 00:15
@wiktork wiktork merged commit 9a16e17 into main Apr 16, 2026
20 checks passed
@wiktork wiktork deleted the dependabot/nuget/eng/dependabot/independent/main/NJsonSchema-11.6.0 branch April 16, 2026 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant