public class Swagger2MarkupResultHandler
extends java.lang.Object
implements org.springframework.test.web.servlet.ResultHandler
Modifier and Type | Class and Description |
---|---|
static class |
Swagger2MarkupResultHandler.Builder |
Modifier and Type | Method and Description |
---|---|
void |
handle(org.springframework.test.web.servlet.MvcResult result)
Apply the action on the given result.
|
static Swagger2MarkupResultHandler.Builder |
outputDirectory(java.lang.String outputDir)
Creates a Swagger2MarkupResultHandler.Builder
|
public static Swagger2MarkupResultHandler.Builder outputDirectory(java.lang.String outputDir)
outputDir
- the target folderpublic void handle(org.springframework.test.web.servlet.MvcResult result) throws java.lang.Exception
handle
in interface org.springframework.test.web.servlet.ResultHandler
result
- the result of the executed requestjava.lang.Exception
- if a failure occurs