We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ba3780 commit 20efc73Copy full SHA for 20efc73
src/core/responses.test.ts
@@ -89,4 +89,34 @@ describe("bundleResponses", () => {
89
},
90
});
91
92
+
93
+ it("should handle custom content", () => {
94
+ const result = bundleResponses({
95
+ 200: {
96
+ description: "Success",
97
+ customContent: {
98
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": {
99
+ schema: {
100
+ type: "string",
101
+ format: "binary",
102
+ },
103
104
105
106
+ });
107
108
+ expect(result).toEqual({
109
110
111
+ content: {
112
113
114
115
116
117
118
119
120
121
122
0 commit comments