Skip to content

Commit a931114

Browse files
fix(core): fixes type error on using @authorize with @response (#38)
GH-37 Co-authored-by: akshatdubeysf <[email protected]>
1 parent 5b45bbb commit a931114

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/decorators/spec-preprocessor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {AuthorizationMetadata} from '../types';
44
const defaultResponse = (ctor: {name: string}, op: string) => ({
55
'200': {
66
description: `Return value of ${ctor.name}.${op}`,
7+
content: {},
78
},
89
});
910

0 commit comments

Comments
 (0)