This rule belongs to the
openapi-v3-standards-validation ruleset and states that:
The Link Object must identify the location of an Operation Object that it targets, using either the
operationId property. However, at one time, only one of these properties must be present and not both.
|Message||Link Object has neither defined property |
|Products Impacted||API Transformer, Code Generation, Developer Experience Portal|
- Add missing
operationIdproperty in the Link Object.
- Make sure that whatever property you specify (
operationId) is not empty or null.
- operationRef is a URI reference path to an Operation Object.
- operationId is a unique identifier of the Operation Object in the specification.
- Because of the potential for name clashes, the operationRef syntax is preferred for specifications with external references.
For More Information