I have just published version 1.0.0 of a micronaut-json-api library to Maven Central.
implementation("io.github.baylorpaul:micronaut-json-api:1.0.0")
At this time, there are still some items to be supported, such as "links", but it's quite usable.
It supports:
- Entity mapping to JSON:API resource(s)
- A processor for an "include" query parameter. E.g. "?include=author.address,publishingCompany"
- Error response processor
- Page and Slice responses
- Deserializing "data" fields into corresponding
JsonApiResource
or JsonApiArray
- Transform JSON:API resource(s) into other Java classes, such as entities