Skip to content

Commit

Permalink
chore: add **NOTE:** not :::note
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Apr 11, 2022
1 parent cd442d6 commit dc02522
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions consumer/junit/README.md
Expand Up @@ -347,9 +347,7 @@ is verified. It is only recorded in the consumer tests and used by the provider

### Building JSON bodies with PactDslJsonBody DSL

:::note
If you are using Java 8, there is no separate Java 8 support library anymore, there is [an updated DSL for consumer tests](/consumer/)
requiring a minimum of Java 11.
**NOTE:** If you are using Java 8, there is no separate Java 8 support library anymore, there is [an updated DSL for consumer tests](/consumer/) requiring a minimum of Java 11.

The body method of the ConsumerPactBuilder can accept a PactDslJsonBody, which can construct a JSON body as well as
define regex and type matchers.
Expand Down

0 comments on commit dc02522

Please sign in to comment.