Files
spring-restdocs/spring-restdocs
Kellen Dye 0699cdd068 Allow links to be optional
Previously, if a link was documented then it had to be present in the
response payload for the test to pass. This was unnecessarily
restrictive and caused problems when a link was omitted due to the
application's current state.

This commit allows a link to be declared as optional. If a link is
optional then the test will pass irrespective of the link's presence
in the response.

See gh-74
2015-06-17 13:40:04 +01:00
..
2015-06-17 13:40:04 +01:00