public interface ContentModifier
ContentModifier modifies the content of an OperationRequest or
OperationResponse during the preprocessing that is performed prior to
documentation generation.ContentModifyingOperationPreprocessor| Modifier and Type | Method and Description |
|---|---|
byte[] |
modifyContent(byte[] originalContent,
org.springframework.http.MediaType contentType)
Returns modified content based on the given
originalContent. |
byte[] modifyContent(byte[] originalContent,
org.springframework.http.MediaType contentType)
originalContent.originalContent - the original contentcontentType - the type of the original content, may be null