Package org.springframework.restdocs.cli
Interface CommandFormatter
public interface CommandFormatter
Formatter for CLI commands such as those included in
CurlRequestSnippet and
HttpieRequestSnippet.- Since:
- 1.2.0
- Author:
- Tomasz Kopczynski
-
Method Summary
-
Method Details
-
format
Formats a list ofelementsinto a singleString.- Parameters:
elements- theStringelements to be formatted- Returns:
- a single formatted
String
-