This is a spike Java project designed to generate Hoverfly simulations from Swagger definitions.
Run test and build shadow jar.
./gradlew clean buildIf 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.jsonThis 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