Files
spring-restdocs/spring-restdocs-core
Andy Wilkinson 1966640520 Only attempt parameter resolution in a test method context
Previously, RestDocumenationExtension would attempt parameter resolution
for any use RestDocumentationContextProvider. Due to the provider
being method-scoped, this could lead to a NullPointerException when
it was resolved in the context of a class.

This commit updates RestDocumentationExtension so that it only supports
parameter resolution for RestDocumentationContextProvider in the context
of a test method.

Closes gh-538
2018-11-21 15:03:48 +00:00
..
2018-08-08 12:27:43 +01:00