Can it support generic types?

张磊 <[email protected]> 于2021年6月16日周三 下午10:01写道:

> Hi everyone.
> As of now,Shenyu has added lots plug-ins like request plugin and response
> plugin.
> I think we need some of the request body and response body modification
> plugins.
> for example:
>  if you request body is a json like this:
> {
>     "name":"saber",
>     "age":"18",
>     "id":" 12345"
> }
> 1.you want to replace the  key of  parameters "name" to "realName",you can
> use the parameter-mapping plugin modify the json ,then the body json is
> {
>     "realName":"saber",
>     "age":"18",
>     "id":" 12345"
> }
> 2.if you want remove a key, you can use the parameter-mapping plugin modify
> the json like
> {
>     "age":"18",
>     "id":" 12345"
> }
> of course the plug-in needs to support other capabilities like add
> a parameter.
>
> If you have a good idea,please reply to this email and we can discuss it.
> Thanks
>
> issue : https://github.com/dromara/shenyu/issues/1621
>

Reply via email to