@axway-api-builder-ext/api-builder-plugin-fn-objectfilter

Node to filter object fields.

Usage no npm install needed!

<script type="module">
  import axwayApiBuilderExtApiBuilderPluginFnObjectfilter from 'https://cdn.skypack.dev/@axway-api-builder-ext/api-builder-plugin-fn-objectfilter';
</script>

README

Build Status

API-Builder ObjectFilter Flow-Node

This node can be used to filter certain fields of an object in your !API-Builder flow. This is useful if you would like to remove for instance confidential information before further processing or exposing the API.

When you have installed this flow node you get the following new option for your flow:
Flownode Filter

Include

With the method Include only the given fields will remain in created object, all other fields will be removed.
Flownode Filter Method include

Exclude

With the method Exclude the given fields will be removed from the object, not mentioned fields will remain.
Flownode Filter Method exclude

Install

After creating your API Builder project (Learn more), you can install this plugin using npm:

npm install --no-optional @axway-api-builder-ext/api-builder-plugin-fn-objectfilter

Changelog

See Change-Log