Skip to content

Commit

Permalink
docs: update how to override body data type
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows authored Jan 21, 2024
1 parent e78f514 commit fffc9cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions consumer/junit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,8 +580,8 @@ The `and` and `or` methods take a variable number of matchers (varargs).

By default, bodies will be handled based on their content types. For binary contents, the bodies will be base64
encoded when written to the Pact file and then decoded again when the file is loaded. You can change this with
an override property: `pact.content_type.override.<TYPE>.<SUBTYPE>=text|binary|json`. For instance, setting
`pact.content_type.override.application.pdf=text` will treat PDF bodies as a text type and not encode/decode them.
an override property: `pact.content_type.override.<TYPE>/<SUBTYPE>=text|binary|json`. For instance, setting
`pact.content_type.override.application/pdf=text` will treat PDF bodies as a text type and not encode/decode them.

### Matching on paths

Expand Down

0 comments on commit fffc9cc

Please sign in to comment.