diff --git a/apidef/api_definitions.go b/apidef/api_definitions.go index ef7ff85d405..6278793ae31 100644 --- a/apidef/api_definitions.go +++ b/apidef/api_definitions.go @@ -196,13 +196,6 @@ type VirtualMeta struct { ProxyOnError bool `bson:"proxy_on_error" json:"proxy_on_error"` } -type GoPluginMeta struct { - Path string `bson:"path" json:"path"` - Method string `bson:"method" json:"method"` - PluginPath string `bson:"plugin_path" json:"plugin_path"` - SymbolName string `bson:"func_name" json:"func_name"` -} - type MethodTransformMeta struct { Path string `bson:"path" json:"path"` Method string `bson:"method" json:"method"` diff --git a/gateway/api_definition.go b/gateway/api_definition.go index b4947965340..8eb2d19958e 100644 --- a/gateway/api_definition.go +++ b/gateway/api_definition.go @@ -140,6 +140,7 @@ type URLSpec struct { ValidatePathMeta apidef.ValidatePathMeta Internal apidef.InternalMeta GoPluginMeta GoPluginMiddleware + IgnoreCase bool } @@ -1245,6 +1246,10 @@ func (a *APISpec) CheckSpecMatchesStatus(r *http.Request, rxPaths []URLSpec, mod case GoPlugin: if method == rxPaths[i].GoPluginMeta.Meta.Method { return true, &rxPaths[i].GoPluginMeta +<<<<<<< HEAD +======= + +>>>>>>> 6359edc9... clean up merge conflicts } } }