Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Piet van Agtmaal committed Aug 9, 2023
1 parent 94c5361 commit 4fe895d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions packages/openapi-typescript/test/components-object.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ describe("Components Object", () => {
};
};
/** @description No Content */
NoContent: never;
NoContent: {
content: never;
};
};
parameters: {
Search: string;
Expand Down Expand Up @@ -209,7 +211,9 @@ describe("Components Object", () => {
};
};
/** @description No Content */
readonly NoContent: never;
readonly NoContent: {
content: never;
};
};
parameters: {
readonly Search: string;
Expand Down
4 changes: 3 additions & 1 deletion packages/openapi-typescript/test/webhooks-object.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ describe("Webhooks Object", () => {
};
responses: {
/** @description Return a 200 status to indicate that the data was received successfully */
200: never;
200: {
content: never;
};
};
};
};
Expand Down

0 comments on commit 4fe895d

Please sign in to comment.