[T] OpenAPI3Link
type OpenAPI3Link = | { operationRef: Ref<unknown>; } | { operationId: string;};
Type declaration
{
operationRef
: Ref
<unknown
>;
}
Name | Type | Description |
---|---|---|
operationRef | Ref <unknown > | 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. |
{
operationId
: string
;
}
Name | Type | Description |
---|---|---|
operationId | string | the name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. |