OpenApiValidationListener@Deprecated public class SwaggerValidationListener extends Object implements com.github.tomakehurst.wiremock.http.RequestListener
| Modifier and Type | Class and Description |
|---|---|
static class |
SwaggerValidationListener.SwaggerValidationException
Deprecated.
Replaced with
OpenApiValidationListener.OpenApiValidationException |
| Constructor and Description |
|---|
SwaggerValidationListener(String specUrlOrPayload)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
assertValidationPassed()
Deprecated.
|
ValidationReport |
getReport()
Deprecated.
|
void |
requestReceived(com.github.tomakehurst.wiremock.http.Request request,
com.github.tomakehurst.wiremock.http.Response response)
Deprecated.
|
void |
reset()
Deprecated.
|
public SwaggerValidationListener(String specUrlOrPayload)
public void requestReceived(com.github.tomakehurst.wiremock.http.Request request,
com.github.tomakehurst.wiremock.http.Response response)
requestReceived in interface com.github.tomakehurst.wiremock.http.RequestListenerpublic ValidationReport getReport()
public void reset()
public void assertValidationPassed()
Copyright © 2016–2020 Atlassian. All rights reserved.