| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Extension[] | Returns: array of extensionsList of extensions to be added to the |
| public String | |
| public String | Returns: an operation IDThe name of an existing, resolvable OAS operation, as defined with a unique operationId. |
| public String | |
| public LinkParameter[] | Returns: the list of parameters for this linkArray of parameters to pass to an operation as specified with operationId or identified via operationRef. |
| public String | |
| public String | Returns: the request body of this linkA literal value or {expression} to use as a request body when calling the target operation. |
| public Server |
| description | back to summary |
|---|---|
| public String description() A description of the link. CommonMark syntax may be used for rich text representation.
| |
| extensions | back to summary |
|---|---|
| public Extension[] extensions() List of extensions to be added to the
| |
| name | back to summary |
|---|---|
| public String name() The name of this link.
The name is REQUIRED when the link is defined within
| |
| operationId | back to summary |
|---|---|
| public String operationId() The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field.
| |
| operationRef | back to summary |
|---|---|
| public String operationRef() A relative or absolute reference to an OAS operation. This field is mutually exclusive of the operationId field, and must point to an Operation Object. Relative operationRef values may be used to locate an existing Operation Object in the OpenAPI definition. Ignored if the operationId property is specified.
| |
| parameters | back to summary |
|---|---|
| public LinkParameter[] parameters() Array of parameters to pass to an operation as specified with operationId or identified via operationRef.
| |
| ref | back to summary |
|---|---|
| public String ref() Reference value to a Link object.
This property provides a reference to an object defined elsewhere. This property may be used with
| |
| requestBody | back to summary |
|---|---|
| public String requestBody() A literal value or {expression} to use as a request body when calling the target operation.
| |
| server | back to summary |
|---|---|
| public Server server() An alternative server to service this operation.
| |