Hello,
I am new to the community and somewhat new to using Swagger but I think it
is pretty great.
I have an issue I am wondering if anyone has seen this and may have a
solution.
After I updated to assertj-swagger 0.6.0, I have a swagger contract test
using
SwaggerAssertions.assertThat(actualSwagger).isEqualTo(currContractLocation);
Where actualSwagger is the result of Swagger actualSwagger =
Swagger20Parser.parse(mvcResult.getResponse().getContentAsString()) where
the swagger contract is read from the
/properversionof/api/api-docs?group=default
and currContractLocation is the result of String currContractLocation =
SwaggerTests.class.getResource("/TheProperVersionOfContract.yaml"
).getPath();
The above assert works fine in assertj-swagger 0.5.1 but in 0.6.0 I am
getting the following exception:
java.lang.NoSuchMethodError:
org.assertj.core.api.SoftAssertions.assertThat(Ljava/lang/Iterable;)Lorg/assertj/core/api/SoftAssertionIterableAssert;
at
io.github.robwin.swagger.test.DocumentationDrivenValidator.validatePaths(DocumentationDrivenValidator.java:69)
at
io.github.robwin.swagger.test.DocumentationDrivenValidator.validateSwagger(DocumentationDrivenValidator.java:40)
at
io.github.robwin.swagger.test.SwaggerAssert.isEqualTo(SwaggerAssert.java:73)
at
io.github.robwin.swagger.test.SwaggerAssert.isEqualTo(SwaggerAssert.java:85)
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.