Describes the operations available on a single path. A Path Item MAY be empty, due to security constraints. In that case the path itself is still exposed to the documentation viewer but you will not know which operations and parameters are available.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | PathItem.
All of the possible types of HTTP operations for this path |
| Modifier and Type | Method and Description |
|---|---|
| public PathItem | Returns: the current PathItem instancea parameter that is applicable to all the operations described under this path parameter)Adds the given parameter to this PathItem's list of parameters. |
| public PathItem | |
| public default PathItem | |
| public default PathItem | Returns: the current PathItem instancedetailed description of what the path item represents description)Sets this PathItem's description property to the given string. |
| public default PathItem | |
| public Operation | Returns: definition of a DELETE operation on this pathReturns the delete property from a PathItem instance. |
| public String | Returns: a detailed description of what the path item representsReturns the description property from a PathItem instance. |
| public Operation | Returns: definition of a GET operation on this pathReturns the get property from a PathItem instance. |
| public Operation | Returns: definition of a HEAD operation on this pathReturns the head property from a PathItem instance. |
| public Map | Returns: a map with all the operations for this path where the keys are HttpMethodsReturns a map with all the operations for this path where the keys are |
| public Operation | Returns: definition of an OPTIONS operation on this pathReturns the options property from a PathItem instance. |
| public List | Returns: a copy List (potentially immutable) of parameters that are applicable to all the operations described under this pathReturns the parameters property from this PathItem instance. |
| public Operation | Returns: definition of a PATCH operation on this pathReturns the patch property from a PathItem instance. |
| public Operation | Returns: definition of a POST operation on this pathReturns the post property from a PathItem instance. |
| public Operation | Returns: definition of a PUT operation on this pathReturns the put property from a PathItem instance. |
| public List | Returns: a copy List (potentially immutable) of all the servers defined in this path itemReturns the servers property from a PathItem instance. |
| public String | Returns: a short summary of what the path item representsReturns the summary property from a PathItem instance. |
| public Operation | Returns: definition of a TRACE operation on this pathReturns the trace property from a PathItem instance. |
| public default PathItem | |
| public default PathItem | |
| public default PathItem | Returns: the current PathItem instancea list of parameters that are applicable to all the operations described under this path parameters)Sets this PathItem's parameters property to the given list. |
| public default PathItem | |
| public default PathItem | |
| public default PathItem | |
| public void | removeParameter(Parameter
a parameter that is applicable to all the operations described under this path parameter)Removes the given parameter to this PathItem's list of parameters. |
| public void | removeServer(Server
a server to service operations in this path item server)Removes the given server to this PathItem's list of servers. |
| public default PathItem | |
| public void | |
| public void | setDescription(String
detailed description of what the path item represents description)Sets this PathItem's description property to the given string. |
| public void | |
| public void | |
| public void | setOperation(PathItem.
the http method httpMethod,the definition of an operation for the given http method. operation)Sets an operation for a given http method. |
| public void | setOPTIONS(Operation
definition of an OPTIONS operation options)Sets this PathItem's options property to the given operation. |
| public void | setParameters(List<Parameter>
a list of parameters that are applicable to all the operations described under this path parameters)Sets this PathItem's parameters property to the given list. |
| public void | |
| public void | |
| public void | |
| public void | setServers(List<Server>
a list of the servers to service operations in this path item servers)Sets this PathItem's servers property to the given list. |
| public void | setSummary(String
short summary of what the path item represents summary)Sets this PathItem's summary property to the given string. |
| public void | |
| public default PathItem | |
| public default PathItem |
| addParameter | back to summary |
|---|---|
| public PathItem addParameter(Parameter parameter) Adds the given parameter to this PathItem's list of parameters. | |
| addServer | back to summary |
|---|---|
| public PathItem addServer(Server server) Adds the given server to this PathItem's list of servers. | |
| DELETE | back to summary |
|---|---|
| public default PathItem DELETE(Operation delete) Sets this PathItem's delete property to the given operation.
| |
| description | back to summary |
|---|---|
| public default PathItem description(String description) Sets this PathItem's description property to the given string. | |
| GET | back to summary |
|---|---|
| public default PathItem GET(Operation get) Sets this PathItem's get property to the given operation.
| |
| getDELETE | back to summary |
|---|---|
| public Operation getDELETE() Returns the delete property from a PathItem instance.
| |
| getDescription | back to summary |
|---|---|
| public String getDescription() Returns the description property from a PathItem instance.
| |
| getGET | back to summary |
|---|---|
| public Operation getGET() Returns the get property from a PathItem instance.
| |
| getHEAD | back to summary |
|---|---|
| public Operation getHEAD() Returns the head property from a PathItem instance.
| |
| getOperations | back to summary |
|---|---|
| public Map Returns a map with all the operations for this path where the keys are
| |
| getOPTIONS | back to summary |
|---|---|
| public Operation getOPTIONS() Returns the options property from a PathItem instance.
| |
| getParameters | back to summary |
|---|---|
| public List Returns the parameters property from this PathItem instance. | |
| getPATCH | back to summary |
|---|---|
| public Operation getPATCH() Returns the patch property from a PathItem instance.
| |
| getPOST | back to summary |
|---|---|
| public Operation getPOST() Returns the post property from a PathItem instance.
| |
| getPUT | back to summary |
|---|---|
| public Operation getPUT() Returns the put property from a PathItem instance.
| |
| getServers | back to summary |
|---|---|
| public List Returns the servers property from a PathItem instance. | |
| getSummary | back to summary |
|---|---|
| public String getSummary() Returns the summary property from a PathItem instance.
| |
| getTRACE | back to summary |
|---|---|
| public Operation getTRACE() Returns the trace property from a PathItem instance.
| |
| HEAD | back to summary |
|---|---|
| public default PathItem HEAD(Operation head) Sets this PathItem's head property to the given operation.
| |
| OPTIONS | back to summary |
|---|---|
| public default PathItem OPTIONS(Operation options) Sets this PathItem's options property to the given operation.
| |
| parameters | back to summary |
|---|---|
| public default PathItem parameters(List<Parameter> parameters) Sets this PathItem's parameters property to the given list. | |
| PATCH | back to summary |
|---|---|
| public default PathItem PATCH(Operation patch) Sets this PathItem's patch property to the given operation.
| |
| POST | back to summary |
|---|---|
| public default PathItem POST(Operation post) Sets this PathItem's post property to the given operation.
| |
| PUT | back to summary |
|---|---|
| public default PathItem PUT(Operation put) Sets this PathItem's put property to the given operation.
| |
| removeParameter | back to summary |
|---|---|
| public void removeParameter(Parameter parameter) Removes the given parameter to this PathItem's list of parameters.
| |
| removeServer | back to summary |
|---|---|
| public void removeServer(Server server) Removes the given server to this PathItem's list of servers.
| |
| servers | back to summary |
|---|---|
| public default PathItem servers(List<Server> servers) Sets this PathItem's servers property to the given list. | |
| setDELETE | back to summary |
|---|---|
| public void setDELETE(Operation delete) Sets this PathItem's delete property to the given operation.
| |
| setDescription | back to summary |
|---|---|
| public void setDescription(String description) Sets this PathItem's description property to the given string.
| |
| setGET | back to summary |
|---|---|
| public void setGET(Operation get) Sets this PathItem's get property to the given operation.
| |
| setHEAD | back to summary |
|---|---|
| public void setHEAD(Operation head) Sets this PathItem's head property to the given operation.
| |
| setOperation | back to summary |
|---|---|
| public void setOperation(PathItem. Sets an operation for a given http method.
| |
| setOPTIONS | back to summary |
|---|---|
| public void setOPTIONS(Operation options) Sets this PathItem's options property to the given operation.
| |
| setParameters | back to summary |
|---|---|
| public void setParameters(List<Parameter> parameters) Sets this PathItem's parameters property to the given list. | |
| setPATCH | back to summary |
|---|---|
| public void setPATCH(Operation patch) Sets this PathItem's patch property to the given operation.
| |
| setPOST | back to summary |
|---|---|
| public void setPOST(Operation post) Sets this PathItem's post property to the given operation.
| |
| setPUT | back to summary |
|---|---|
| public void setPUT(Operation put) Sets this PathItem's put property to the given operation.
| |
| setServers | back to summary |
|---|---|
| public void setServers(List<Server> servers) Sets this PathItem's servers property to the given list. | |
| setSummary | back to summary |
|---|---|
| public void setSummary(String summary) Sets this PathItem's summary property to the given string.
| |
| setTRACE | back to summary |
|---|---|
| public void setTRACE(Operation trace) Sets this PathItem's trace property to the given operation.
| |
| summary | back to summary |
|---|---|
| public default PathItem summary(String summary) Sets this PathItem's summary property to the given string. | |
| TRACE | back to summary |
|---|---|
| public default PathItem TRACE(Operation trace) Sets this PathItem's trace property to the given operation.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final PathItem. | |
| public static final PathItem. | |
| public static final PathItem. | |
| public static final PathItem. | |
| public static final PathItem. | |
| public static final PathItem. | |
| public static final PathItem. | |
| public static final PathItem. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static PathItem. | |
| public static PathItem. |
| DELETE | back to summary |
|---|---|
| public static final PathItem. | |
| GET | back to summary |
|---|---|
| public static final PathItem. | |
| HEAD | back to summary |
|---|---|
| public static final PathItem. | |
| OPTIONS | back to summary |
|---|---|
| public static final PathItem. | |
| PATCH | back to summary |
|---|---|
| public static final PathItem. | |
| POST | back to summary |
|---|---|
| public static final PathItem. | |
| PUT | back to summary |
|---|---|
| public static final PathItem. | |
| TRACE | back to summary |
|---|---|
| public static final PathItem. | |
| HttpMethod | back to summary |
|---|---|
| private HttpMethod() | |
| valueOf | back to summary |
|---|---|
| public static PathItem. | |
| values | back to summary |
|---|---|
| public static PathItem. | |