Skip to content

Commit

Permalink
Update src/third-version.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Lukasz Gornicki <[email protected]>
  • Loading branch information
jonaslagoni and derberg authored Oct 12, 2023
1 parent 18ee956 commit 88caf64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/third-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 88caf64

Please sign in to comment.