surechen commented on a change in pull request #50: SCB-1558 support query 
history by key and fix wrong API doc
URL: https://github.com/apache/servicecomb-kie/pull/50#discussion_r341954847
 
 

 ##########
 File path: pkg/model/kv.go
 ##########
 @@ -17,6 +17,15 @@
 
 package model
 
+//KVRequest is http request body
+type KVRequest struct {
+       Key       string            `json:"key" yaml:"key"`
+       Value     string            `json:"value,omitempty" 
yaml:"value,omitempty"`
+       ValueType string            `json:"value_type,omitempty" 
bson:"value_type,omitempty" yaml:"value_type,omitempty"` 
//ini,json,text,yaml,properties
+       Checker   string            `json:"check,omitempty" 
yaml:"check,omitempty"`                                       //python script
 
 Review comment:
   Why use python script?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to