Annotation Type SingleResult


  • @Documented
    @Retention(RUNTIME)
    @Target({METHOD,ANNOTATION_TYPE})
    @Inherited
    public @interface SingleResult
    Annotation that can be used to describe that an API emits a single result even if the return type is a Publisher.
    Since:
    1.0.2
    • Field Summary

      Fields 
      Modifier and Type Fields Description
      static java.lang.String NAME
      The class name.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean value
      Whether the result is a single result.
    • Field Detail

      • NAME

        static final java.lang.String NAME
        The class name.
    • Element Detail

      • value

        boolean value
        Whether the result is a single result.
        Returns:
        True if it is.
        Default:
        true