Fix enum typing
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user