Interface OperationPreprocessor
- All Known Implementing Classes:
ContentModifyingOperationPreprocessor,HeadersModifyingOperationPreprocessor,OperationPreprocessorAdapter,ParametersModifyingOperationPreprocessor,UriModifyingOperationPreprocessor
public interface OperationPreprocessor
An
OperationPreprocessor processes the OperationRequest and
OperationResponse of an Operation prior to it being documented.- Author:
- Andy Wilkinson
-
Method Summary
Modifier and TypeMethodDescriptionpreprocess(OperationRequest request) Processes the givenrequest.preprocess(OperationResponse response) Processes the givenresponse.
-
Method Details
-
preprocess
Processes the givenrequest.- Parameters:
request- the request to process- Returns:
- the processed request
-
preprocess
Processes the givenresponse.- Parameters:
response- the response to process- Returns:
- the processed response
-