toedter / spring-hateoas-jsonapi

A JSON:API media type implementation for Spring HATEOAS
Apache License 2.0
106 stars 15 forks source link

Provide configuration for Json:API Object (version 1.1) #67

Closed toedter closed 1 year ago

toedter commented 1 year ago

In JSON:API 1.1, the JSON:API object allows more properties, see https://jsonapi.org/format/#document-jsonapi-object

An example would be

{
  "jsonapi": {
    "version": "1.1",
    "ext": [
      "https://jsonapi.org/ext/atomic"
    ],
    "profile": [
      "http://example.com/profiles/flexible-pagination",
      "http://example.com/profiles/resource-versioning"
    ]
  }
}

Provide configuration for the new properties.