JsonApiDotNetCore
JsonApiDotNetCore copied to clipboard
A framework for building JSON:API compliant REST APIs using ASP.NET and Entity Framework Core.
This PR adds the following header comment to auto-generated controller classes: ```c# // ``` The comment instructs other analyzers, such as StyleCop, to skip analyzing such files, so you won't...
#### SUMMARY I'm looking for some guidance on how to handle API versioning using the JsonApiDotNetCore library. As an example, let's say I have a Book entity and I currently...
EF Core v6.0.2 introduced a breaking change regarding change tracking of many-to-many relationships, which broke removing from many-to-many relationships in JsonApiDotNetCore in some cases. Fortunately, an AppContext switch to revert...
This PR adds an optional parameter to `cleanupcode.ps1`, which allows formatting only changed files since a git branch or commit hash. And it now includes staged and unstaged files. Example...
This PR fixes broken links in the [docs/usage/extensibility/resource-definitions.md](https://github.com/json-api-dotnet/JsonApiDotNetCore/pull/1171/files#diff-fcf48abaccb657a94fde70e3b54f31c30faeb9f9608ac5dfb85927286fa8a3a8) file Closes #{ISSUE_NUMBER} #### QUALITY CHECKLIST - [ ] Changes implemented in code - [X] Complies with our [contributing guidelines](https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/.github/CONTRIBUTING.md) - [...
Closes #{ISSUE_NUMBER} #### QUALITY CHECKLIST - [ ] Changes implemented in code - [ ] Complies with our [contributing guidelines](https://github.com/json-api-dotnet/JsonApiDotNetCore/blob/master/.github/CONTRIBUTING.md) - [ ] Adapted tests - [ ] Documentation updated
This PR adds support for using [DateOnly](https://docs.microsoft.com/en-us/dotnet/api/system.dateonly) and [TimeOnly](https://docs.microsoft.com/en-us/dotnet/api/system.timeonly) in resource models, which were [introduced](https://devblogs.microsoft.com/dotnet/date-time-and-time-zone-enhancements-in-net-6/#introducing-the-dateonly-and-timeonly-types) in .NET 6. PostgreSQL fully supports these types. But the .NET 6 version of System.Text.Json...
For non-nullable reference types, a resource attribute should be included in the OpenAPI `required` property if model state validation is enabled, and should be excluded otherwise. The following table displays...