...but actually currently the test fails with an error having output similar to following:
org.assertj.core.api.SoftAssertionError:
The following 1 assertions failed:
1) [Checking Definitions]
Expecting null or empty but was:<{"Category"=io.swagger.models.ModelImpl@511f606d, "Order"=io.swagger.models.ModelImpl@cc70a63c, "Pet"=io.swagger.models.ModelImpl@ca5dccf1, "Tag"=io.swagger.models.ModelImpl@511f606d, "User"=io.swagger.models.ModelImpl@f085099e}>
at ConsumerDrivenValidator.validateDefinitions(ConsumerDrivenValidator.java:100)
Expected behavior
When design api-doc only includes operations of implementation that don't reference any definitions, then
shouldn't fail...
Actual behaviour
...but actually currently the test fails with an error having output similar to following: