public class RestProblem extends Object implements ProblemInfo
| Constructor and Description |
|---|
RestProblem(String swaggerJsonUrl,
List<String> endpointsToSkip) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getEndpointsToSkip() |
String |
getSwaggerJsonUrl() |
public RestProblem(String swaggerJsonUrl, List<String> endpointsToSkip)
swaggerJsonUrl - Provide the URL of where the swagger.json can be foundendpointsToSkip - When testing a REST API, there might be some endpoints that are not
so important to test.
For example, in Spring, health-check endpoints like "/heapdump"
are not so interesting to test, and they can be very expensive to run.
Here can specify a list of endpoints (as defined in the schema) to skip.Copyright © 2016–2021. All rights reserved.