From 88caf6441530cfdd21e43659f1f21600ae3184e8 Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Thu, 12 Oct 2023 16:47:11 +0200 Subject: [PATCH] Update src/third-version.ts Co-authored-by: Lukasz Gornicki --- src/third-version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/third-version.ts b/src/third-version.ts index 9eeb33bf..88dc6257 100644 --- a/src/third-version.ts +++ b/src/third-version.ts @@ -394,7 +394,7 @@ function convertParameter(parameter: any): any { } if(parameter.schema?.$ref) { - console.warn('Could not convert parameter object because the `.schema` property was a reference.\nThis have to be changed manually if you want any of the properties included, it will be converted to a default parameter. The reference was ' + parameter.schema?.$ref); + console.warn('Could not convert parameter object because the `.schema` property was a reference.\nThis have to be changed manually if you want any of the properties included. For now your parameter is an empty object after conversion. The reference was ' + parameter.schema?.$ref); } const enumValues = parameter.schema?.enum ?? null;