An open API service indexing awesome lists of open source software.

https://github.com/znsio/specmatic-hooks-java-sample


https://github.com/znsio/specmatic-hooks-java-sample

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# specmatic-hooks-java-sample

This is a sample project to demonstrate how to use [Specmatic hooks](https://specmatic.io/documentation/contract_tests.html#hooks) in Java.

## Pre-requisites

* JDK17 or higher

## Building and using the project

1. Create standalone JAR

```shell
./mvnw clean package
```

2. Running standalone JAR

```shell
java -jar target/specmatic-hooks-sample.jar
```