This is a spike Java project designed to generate Hoverfly simulations from Swagger definitions.
Run test and build shadow jar.
./gradlew clean build
If you are in the project root directory, you can try it with the pet-store Swagger specification json:
java -jar build/libs/swagger-to-hoverfly-1.0-SNAPSHOT-all.jar src/test/resources/petstore.json
This will print out the equivalent Hoverfly simulation data.
Or output to a json file:
java -jar build/libs/swagger-to-hoverfly-1.0-SNAPSHOT-all.jar src/test/resources/petstore.json > hoverfly-petstore.json