mirror of
https://github.com/Kong/go-pluginserver.git
synced 2025-10-06 16:47:22 +08:00
fix(config) correctly encode array config (#20)
This commit is contained in:
@@ -181,7 +181,7 @@ func getSchemaDict(t reflect.Type) schemaDict {
|
||||
}
|
||||
return schemaDict{
|
||||
"type": "array",
|
||||
"elements": schemaDict{"type": elemType},
|
||||
"elements": elemType,
|
||||
}
|
||||
|
||||
case reflect.Map:
|
||||
|
Reference in New Issue
Block a user