Package org.springframework.restdocs
Interface RestDocumentationContextProvider
- All Known Implementing Classes:
JUnitRestDocumentation
,ManualRestDocumentation
public interface RestDocumentationContextProvider
A
RestDocumentationContextProvider
is used to provide access to the
RestDocumentationContext
.- Since:
- 1.1.0
- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionReturns aRestDocumentationContext
for the operation that is about to be performed.
-
Method Details
-
beforeOperation
RestDocumentationContext beforeOperation()Returns aRestDocumentationContext
for the operation that is about to be performed.- Returns:
- the context for the operation
-