Skip to content

Commit 4fe895d

Browse files
author
Piet van Agtmaal
committed
Update tests
1 parent 94c5361 commit 4fe895d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

packages/openapi-typescript/test/components-object.test.ts

+6-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ describe("Components Object", () => {
111111
};
112112
};
113113
/** @description No Content */
114-
NoContent: never;
114+
NoContent: {
115+
content: never;
116+
};
115117
};
116118
parameters: {
117119
Search: string;
@@ -209,7 +211,9 @@ describe("Components Object", () => {
209211
};
210212
};
211213
/** @description No Content */
212-
readonly NoContent: never;
214+
readonly NoContent: {
215+
content: never;
216+
};
213217
};
214218
parameters: {
215219
readonly Search: string;

packages/openapi-typescript/test/webhooks-object.test.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ describe("Webhooks Object", () => {
7575
};
7676
responses: {
7777
/** @description Return a 200 status to indicate that the data was received successfully */
78-
200: never;
78+
200: {
79+
content: never;
80+
};
7981
};
8082
};
8183
};

0 commit comments

Comments
 (0)