Annotation Interface OpenAPIGroup


@Retention(SOURCE) @Documented @Target({PACKAGE,TYPE,METHOD}) public @interface OpenAPIGroup
With this annotation, you can specify one or more groups that this endpoint will be included in, as well as specify groups from which this endpoint should be excluded.
Since:
4.10.0
  • Element Details

    • value

      @AliasFor(member="names") String[] value
      Returns:
      The names of the OpenAPi groups.
      Default:
      {}
    • names

      @AliasFor(member="value") String[] names
      Returns:
      The names of the OpenAPi groups.
      Default:
      {}
    • exclude

      String[] exclude
      Returns:
      The names of the OpenAPi groups to exclude endpoints from.
      Default:
      {}