- All Known Implementing Classes:
public interface WriterResolver
WriterResolveris used to access the
Writerthat should be used to write a snippet for an operation that is being documented.
- Andy Wilkinson
(String operationName, String snippetName, RestDocumentationContext restDocumentationContext) throws IOExceptionReturns a writer that can be used to write the snippet with the given name for the operation with the given name.
operationName- the name of the operation that is being documented
snippetName- the name of the snippet
restDocumentationContext- the current documentation context
- the writer
IOException- if a writer cannot be resolved