Skip to content

Commit b357b5a

Browse files
committed
Use any for undefined additionalProperties type
1 parent 47af2da commit b357b5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/swagger-2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ function parse(spec: Swagger2, namespace: string) {
170170

171171
if (additionalProperties) {
172172
if (<boolean>additionalProperties === true) {
173-
output.push(`[name: string]: ${ID}`);
173+
output.push(`[name: string]: any`);
174174
}
175175

176176
if ((<Swagger2Definition>additionalProperties).type) {

0 commit comments

Comments
 (0)