Annotation Interface JsonApiRelationships


@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface JsonApiRelationships
Specifies the JSON:API relationships of a resource object. This annotation is only used for deserialization of JSON:API structured JSON to Java objects, and is useful for POST and PATCH requests. For serialization use a JsonApiModelBuilder.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the relationship.
  • Element Details

    • value

      String value
      The name of the relationship.