assertj-swagger icon indicating copy to clipboard operation
assertj-swagger copied to clipboard

Introduce similar setting as assertj.swagger.pathsToIgnoreInExpected - for actual

Open BrandU opened this issue 6 years ago • 0 comments

Hi,

We're using your implementation for validation of the swagger api spec - thanks!

However we would like to be able to ignore some parts of API when it comes to validation.

In our case these are the diagnostics endpoints ( & models) - no business value / out of the domain of the micro-service - which we don't want to validate against swagger api spec.

Would it possible to extend: io.github.robwin.swagger.test.DocumentationDrivenValidator#validateSwagger

with support of this new property where it would be possible to specifically ignore some paths for actual?

https://github.com/RobWin/assertj-swagger/blob/master/src/test/resources/assertj-swagger-partial-impl.properties

Thank you very much.

Brano.

BrandU avatar Sep 11 '19 14:09 BrandU