JsonApiDotNetCore
JsonApiDotNetCore copied to clipboard
A framework for building JSON:API compliant REST APIs using ASP.NET and Entity Framework Core.
Currently the OpenApi integration should already pick up on custom routes, but this needs to be thoroughly tested.
Currently the integration always uses a different resource object for patching and posting purposes in schema generation. There exist two different schemas for posting and patching a resource object because...
Currently the OpenApi integration only assumes a [meta object](https://jsonapi.org/format/1.1/#document-meta) at the top-level of a response document. In JADNC it is possible to include metadata at places deeper in the document...
The current state of the OpenApi integration has a hardcoded configuration for where and when links are included in schemas. In JADNC this can be configured by: - toggling `JsonApiOptions.DefaultPageSize`...
The current state of the OpenApi integration does not add the [jsonapi object](https://jsonapi.org/format/1.1/#document-jsonapi-object) in the OAS file. In JADNC the JsonApiObject can be included in a response document by configuring...
The task is to describe the [atomic operations endpoint](https://www.jsonapi.net/usage/writing/bulk-batch-operations.html) in the OAS and with that introduce all necessary types for modelling operation entries as OAS schemas. At first glance it...
The task is to introduce an OAS schema that describes [error objects](https://jsonapi.org/format/1.1/#error-objects). Also an integration with the generated client should be considered.
[Attribute capabilities](https://www.jsonapi.net/usage/resources/attributes.html#capabilities) will affect the listed properties in the [attribute object](https://jsonapi.org/format/1.1/#document-resource-object-attributes) of a resource object. - The `AttrCapabilities.AllowView` flag must be set for a field to be present in the...
The usage of `RequiredAttribute` on a resource field translates to a property needing to be listed as `required`, see [required properties](https://swagger.io/docs/specification/data-models/data-types/). This is currently already supported in the OpenApi integration,...
We would like to support other ORMs such as Marten (see #291) and MongoDb (https://github.com/json-api-dotnet/JsonApiDotNetCore.MongoDb). In order to do this, EF should not be installed unless the developer explicitly chooses...