fix: add int/float to type gen

This commit is contained in:
2026-04-04 17:08:29 +08:00
parent 4146fda348
commit f656a62606
+2
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';