Annotation 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. Also, you can set specific endpoint extensions for each group
Since:
4.10.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    io.swagger.v3.oas.annotations.extensions.Extension[]
    The list of optional extensions only for these groups.
     
     
  • 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:
      {}
    • extensions

      io.swagger.v3.oas.annotations.extensions.Extension[] extensions
      The list of optional extensions only for these groups.
      Returns:
      an optional array of extensions
      Since:
      6.7.0
      Default:
      {}