-
I am able to remove the top level element("kind") but can't remove nested. I want to remove namespace from the below request. I am trying 'spec.namespace' in remove body but isn’t working. any help will be appreciated. Thanks. "kind":"update" |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@RahulRdec Could you post a sample of JSON you are transforming and the request-transformer plugin's full config? |
Beta Was this translation helpful? Give feedback.
-
@fffonion In plugin I am only populating remove-->body param. I have tried multiple options - spec.namepsce & spec.namepace: etc but nothing seems working. Request: |
Beta Was this translation helpful? Give feedback.
-
@RahulRdec I see, i missed the |
Beta Was this translation helpful? Give feedback.
@RahulRdec I see, i missed the
nested
fields parts. Those are not supported by request transformer plugin. You can write yourown plugin that does the transform, or use the coming
jq
plugin (which is included in the enterprise offering and aims on morejq
-style JSON transformation).