Fix enum typing
This commit is contained in:
parent
14961bfbc6
commit
58552ee226
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user