public interface Paths extends Constructible, Extensible, java.util.Map<java.lang.String,PathItem>
Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the Server Object in order to construct the full URL. The Paths MAY be empty, due to security constraints.
Modifier and Type | Method and Description |
---|---|
Paths |
addPathItem(java.lang.String name,
PathItem item)
Adds the given path item to this Paths and return this instance of Paths
|
addExtension, getExtensions, setExtensions
Paths addPathItem(java.lang.String name, PathItem item)
name
- a path name in the format valid for a Paths object. The field name MUST begin with a slash.item
- the path item added to the list of paths