Attr
annotation class Attr(val name: String = "", val mutable: Boolean = true, val autoTransform: Boolean = true)(source)
Marks a property as an attribute of a JSON:API resource.
Parameters
name
The name of the attribute.
mutable
If the relationship should be editable (can add/edit/remove elements).
autoTransform
If the attribute name should be automatically transformed to snake case when serializing and vice versa when deserializing.