From c933ae161b43e9812d893c7eed84da7e595ea8bf Mon Sep 17 00:00:00 2001 From: Hossein Saniei Date: Mon, 2 Aug 2021 16:11:44 +0430 Subject: [PATCH] fix: additional properties of the objects should have any type (#190) BREAKING CHANGE: the objects with additional properties now have a different file --- src/core/getters/object.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/getters/object.ts b/src/core/getters/object.ts index 91c11f898..7f816b6f8 100644 --- a/src/core/getters/object.ts +++ b/src/core/getters/object.ts @@ -107,7 +107,7 @@ export const getObject = async ({ if (item.additionalProperties) { if (isBoolean(item.additionalProperties)) { return { - value: `{[key: string]: object}`, + value: `{ [key: string]: any }`, imports: [], schemas: [], isEnum: false,