Type Alias: PathItemObject<T>
ts
type PathItemObject<T> = {
$ref?: string;
description?: string;
parameters?: (ReferenceObject | ParameterObject)[];
servers?: ServerObject[];
summary?: string;
} & { [method in HttpMethods]?: OperationObject<T> };Type Declaration
| Name | Type |
|---|---|
$ref? | string |
description? | string |
parameters? | ( | ReferenceObject | ParameterObject)[] |
servers? | ServerObject[] |
summary? | string |
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends { } | { } |