Interface OperationPreprocessor

All Known Implementing Classes:
ContentModifyingOperationPreprocessor, HeadersModifyingOperationPreprocessor, OperationPreprocessorAdapter, UriModifyingOperationPreprocessor

public interface OperationPreprocessor
An OperationPreprocessor processes the OperationRequest and OperationResponse of an Operation prior to it being documented.
Author:
Andy Wilkinson
  • Method Details

    • preprocess

      OperationRequest preprocess(OperationRequest request)
      Processes the given request.
      Parameters:
      request - the request to process
      Returns:
      the processed request
    • preprocess

      OperationResponse preprocess(OperationResponse response)
      Processes the given response.
      Parameters:
      response - the response to process
      Returns:
      the processed response