Class HALAnnotation<T extends Annotation>

java.lang.Object
io.openapitools.hal.HALAnnotation<T>

public class HALAnnotation<T extends Annotation>
extends Object
Enumeration of properties reserved for HAL along with the association to the annotation marking objects to go into these properties.
  • Field Details

    • EMBEDDED

      public static final HALAnnotation<io.openapitools.jackson.dataformat.hal.annotation.EmbeddedResource> EMBEDDED
  • Method Details

    • getName

      public String getName()
    • getAnnotation

      public Class<T> getAnnotation()
    • deriveName

      public String deriveName​(HALResourceType parent, T annotation, String property)
      Derive name for property defines as link or embedded.