Annotation Interface MutationHook


@Target({METHOD,ANNOTATION_TYPE}) @Retention(RUNTIME) @Inherited public @interface MutationHook
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    layout variable ${varInput} @{varResponse} separation by ,
    important: input variables are named by path/requestParam names not variables (RequestBody is named body!) one invalidation per string (multiple parameters need to be separated by ,
    name of the method/operation within generated axios-client
  • Element Details

    • value

      String value
      name of the method/operation within generated axios-client
      Default:
      ""
    • invalidateKeys

      String[] invalidateKeys
      layout variable ${varInput} @{varResponse} separation by ,
      important: input variables are named by path/requestParam names not variables (RequestBody is named body!) one invalidation per string (multiple parameters need to be separated by ,
      Default:
      {}