Skip to content

Commit 40ce368

Browse files
Jakub RożekP0lip
authored andcommitted
feat: define extensions on INode
1 parent f4e1c07 commit 40ce368

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/graph.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { Extensions } from './http-spec';
2+
13
export interface IShareableNode {
24
id: string;
35
}
@@ -8,6 +10,7 @@ export interface INode extends IShareableNode {
810
tags?: INodeTag[];
911
summary?: string;
1012
description?: string;
13+
extensions?: Extensions;
1114
}
1215

1316
export interface INodeTag {

src/http-spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ export interface IHttpOperation extends INode, IShareableNode {
4646
security?: HttpSecurityScheme[][];
4747
deprecated?: boolean;
4848
internal?: boolean;
49-
extensions?: Extensions;
5049
}
5150

5251
export type IHttpCallbackOperation = Omit<IHttpOperation, 'servers' | 'security' | 'callbacks'> & {

0 commit comments

Comments
 (0)