Skip to content

Commit

Permalink
README fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszmichalak committed Apr 8, 2020
1 parent bcbf9bf commit feda2ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions handler/consumer/json/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Fragment JSON Consumer
When configured, it appends debug data to `Fragment` body under `_knotx_fragment` key, existing body remains unchanged.
When configured, it appends debug data to `Fragment` body under `_knotx_fragment` key, the existing body remains unchanged.
Appended entry will contain data provided by [FragmentExecutionLog](/~https://github.com/Knotx/knotx-fragments/blob/master/handler/consumer/api/src/main/java/io/knotx/fragments/handler/consumer/api/model/FragmentExecutionLog.java).
```
{
Expand Down Expand Up @@ -38,7 +38,7 @@ condition {
param = debug
# header = x-knotx-debug
}
fragmentTypes = [ "snippet" ]
fragmentTypes = [ "json" ]
```
It runs when any of the following conditions are met:
- `param` - an original request contains a parameter with the *given name* (e.g. by configuring
Expand Down

0 comments on commit feda2ae

Please sign in to comment.