fix: add int/float to type gen

This commit is contained in:
hypercross 2026-04-04 17:08:29 +08:00
parent 4146fda348
commit f656a62606
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ function schemaToTypeString(schema: Schema): string {
case 'string':
return 'string';
case 'number':
case 'int':
case 'float':
return 'number';
case 'boolean':
return 'boolean';