final case class PathItem(ref: Option[String], summary: Option[String], description: Option[Doc], get: Option[Operation], put: Option[Operation], post: Option[Operation], delete: Option[Operation], options: Option[Operation], head: Option[Operation], patch: Option[Operation], trace: Option[Operation], servers: List[Server] = List.empty, parameters: Set[ReferenceOr[Parameter]] = Set.empty) extends Product with Serializable

Describes the operations available on a single path. A Path Item MAY be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available.

ref

Allows for an external definition of this path item. The referenced structure MUST be in the format of a Path Item Object. In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined.

summary

An optional, string summary, intended to apply to all operations in this path.

description

A description, intended to apply to all operations in this path.

get

A definition of a GET operation on this path.

put

A definition of a PUT operation on this path.

post

A definition of a POST operation on this path.

delete

A definition of a DELETE operation on this path.

options

A definition of a OPTIONS operation on this path.

head

A definition of a HEAD operation on this path.

patch

A definition of a PATCH operation on this path.

trace

A definition of a TRACE operation on this path.

servers

An alternative server List to service all operations in this path.

parameters

A Set of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The Set can use the Reference Object to link to parameters that are defined at the OpenAPI Object’s components/parameters.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PathItem
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PathItem(ref: Option[String], summary: Option[String], description: Option[Doc], get: Option[Operation], put: Option[Operation], post: Option[Operation], delete: Option[Operation], options: Option[Operation], head: Option[Operation], patch: Option[Operation], trace: Option[Operation], servers: List[Server] = List.empty, parameters: Set[ReferenceOr[Parameter]] = Set.empty)

    ref

    Allows for an external definition of this path item. The referenced structure MUST be in the format of a Path Item Object. In case a Path Item Object field appears both in the defined object and the referenced object, the behavior is undefined.

    summary

    An optional, string summary, intended to apply to all operations in this path.

    description

    A description, intended to apply to all operations in this path.

    get

    A definition of a GET operation on this path.

    put

    A definition of a PUT operation on this path.

    post

    A definition of a POST operation on this path.

    delete

    A definition of a DELETE operation on this path.

    options

    A definition of a OPTIONS operation on this path.

    head

    A definition of a HEAD operation on this path.

    patch

    A definition of a PATCH operation on this path.

    trace

    A definition of a TRACE operation on this path.

    servers

    An alternative server List to service all operations in this path.

    parameters

    A Set of parameters that are applicable for all the operations described under this path. These parameters can be overridden at the operation level, but cannot be removed there. The Set can use the Reference Object to link to parameters that are defined at the OpenAPI Object’s components/parameters.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addDelete(operation: Operation): PathItem
  5. def addGet(operation: Operation): PathItem
  6. def addHead(operation: Operation): PathItem
  7. def addOptions(operation: Operation): PathItem
  8. def addPatch(operation: Operation): PathItem
  9. def addPost(operation: Operation): PathItem
  10. def addPut(operation: Operation): PathItem
  11. def addTrace(operation: Operation): PathItem
  12. def any(operation: Operation): PathItem
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  15. val delete: Option[Operation]
  16. val description: Option[Doc]
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. val get: Option[Operation]
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  20. val head: Option[Operation]
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. val options: Option[Operation]
  26. val parameters: Set[ReferenceOr[Parameter]]
  27. val patch: Option[Operation]
  28. val post: Option[Operation]
  29. val put: Option[Operation]
  30. val ref: Option[String]
  31. val servers: List[Server]
  32. val summary: Option[String]
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. val trace: Option[Operation]
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped