Fix enum typing

This commit is contained in:
Steve Dudenhoeffer 2025-04-06 15:35:05 -04:00
parent 14961bfbc6
commit 58552ee226

View File

@ -94,6 +94,8 @@ func getField(f reflect.StructField, index int) Type {
}
}
b.DataType = jsonschema.String
b.typeName = "string"
return enum{
basic: b,
values: vals,