Interface ContentModifier
- All Known Implementing Classes:
PrettyPrintingContentModifier
public interface ContentModifier
A
ContentModifier
modifies the content of an OperationRequest
or
OperationResponse
during the preprocessing that is performed prior to
documentation generation.- Author:
- Andy Wilkinson
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
modifyContent
(byte[] originalContent, org.springframework.http.MediaType contentType) Returns modified content based on the givenoriginalContent
.
-
Method Details
-
modifyContent
byte[] modifyContent(byte[] originalContent, org.springframework.http.MediaType contentType) Returns modified content based on the givenoriginalContent
.- Parameters:
originalContent
- the original contentcontentType
- the type of the original content, may benull
- Returns:
- the modified content
-