Use int64 instead of float64 and fix some capitalization

This commit is contained in:
Elara 2023-09-24 20:16:12 -07:00
parent 7e4c13d031
commit fb99765a2a
2 changed files with 1394 additions and 1392 deletions

View File

@ -72,7 +72,7 @@ func transformType(name, t string) string {
switch t {
case "number":
return "float64"
return "int64"
case "boolean":
return "bool"
default:
@ -89,6 +89,8 @@ func transformFieldName(s string) string {
"Jwt", "JWT",
"Crud", "CRUD",
"Pm", "PM",
"Totp", "TOTP",
"2fa", "2FA",
).Replace(s)
return s
}

File diff suppressed because it is too large Load Diff