https://github.com/znsio/specmatic-hooks-java-sample
https://github.com/znsio/specmatic-hooks-java-sample
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/znsio/specmatic-hooks-java-sample
- Owner: znsio
- Created: 2024-11-05T05:19:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-05T07:32:17.000Z (over 1 year ago)
- Last Synced: 2025-01-24T06:09:34.481Z (over 1 year ago)
- Language: Java
- Size: 10.7 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```