@Target(value={})
 @Retention(value=RUNTIME)
 @Inherited
public @interface Link
| Modifier and Type | Optional Element and Description | 
|---|---|
| java.lang.String | descriptionA description of the link. | 
| java.lang.String | nameThe name of this link. | 
| java.lang.String | operationIdThe name of an existing, resolvable OAS operation, as defined with a unique operationId. | 
| java.lang.String | operationRefA relative or absolute reference to an OAS operation. | 
| LinkParameter[] | parametersArray of parameters to pass to an operation as specified with operationId or identified via operationRef. | 
| java.lang.String | refReference value to a Link object. | 
| java.lang.String | requestBodyA literal value or {expression} to use as a request body when calling the target operation. | 
| Server | serverAn alternative server to service this operation. | 
public abstract java.lang.String name
 The name is REQUIRED when the link is defined within
 Components. The name will be used as the key to add this
 link to the 'links' map for reuse.
 
public abstract java.lang.String operationRef
public abstract java.lang.String operationId
public abstract LinkParameter[] parameters
public abstract java.lang.String description
public abstract java.lang.String requestBody
public abstract Server server
public abstract java.lang.String ref
This property provides a reference to an object defined elsewhere. This property and all other properties are mutually exclusive. If other properties are defined in addition to the ref property then the result is undefined.