mirror of
https://github.com/niusmallnan/steve.git
synced 2025-05-31 10:44:53 +00:00
Presume json type for Open API Arbitrary type
This commit is contained in:
parent
0edf9c780f
commit
8891a7756b
@ -107,6 +107,8 @@ func toField(schema proto.Schema) schemas.Field {
|
||||
f.Type = sub.GetPath().String()
|
||||
}
|
||||
case *proto.Arbitrary:
|
||||
logrus.Debugf("arbitrary type: %v", schema)
|
||||
f.Type = "json"
|
||||
default:
|
||||
logrus.Errorf("unknown type: %v", schema)
|
||||
f.Type = "json"
|
||||
|
Loading…
Reference in New Issue
Block a user