Annotation Interface PathItem


@Target({}) @Retention(RUNTIME) public @interface PathItem
Describes a set of operations available on a single path.
Since:
4.0
  • Element Details

    • ref

      String ref
      Reference value to a PathItem object.

      This property provides a reference to an object defined elsewhere.

      Unlike ref on most MP OpenAPI annotations, this property is not mutually exclusive with other properties.

      Returns:
      reference to a path item object definition
      Default:
      ""
    • summary

      String summary
      The summary of the path item.
      Returns:
      the summary
      Default:
      ""
    • description

      String description
      The description of the path item.
      Returns:
      the description
      Default:
      ""
    • operations

      PathItemOperation[] operations
      The operations available under this Path Item.

      The method MUST be defined for each operation.

      Returns:
      the list of operations
      Default:
      {}
    • servers

      Server[] servers
      A list of servers to be used for this Path Item, overriding those defined for the whole API.
      Returns:
      the list of servers
      Default:
      {}
    • parameters

      Parameter[] parameters
      A list of parameters which apply to all operations under this path item.
      Returns:
      the list of parameters
      Default:
      {}
    • extensions

      Extension[] extensions
      List of extensions to be added to the PathItem model corresponding to the containing annotation.
      Returns:
      the list of extensions
      Default:
      {}