public class SwaggerResultHandler
extends java.lang.Object
implements org.springframework.test.web.servlet.ResultHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
SwaggerResultHandler.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(org.springframework.test.web.servlet.MvcResult result)
Apply the action on the given result.
|
static SwaggerResultHandler.Builder |
outputDirectory(java.lang.String outputDir)
Creates a Swagger2MarkupResultHandler.Builder
|
public static SwaggerResultHandler.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.ResultHandlerresult - the result of the executed requestjava.lang.Exception - if a failure occurs