Class ClientYamlDocsTestClient

java.lang.Object
org.elasticsearch.test.rest.yaml.ClientYamlTestClient
org.elasticsearch.test.rest.yaml.ClientYamlDocsTestClient
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable

public final class ClientYamlDocsTestClient
extends ClientYamlTestClient
Used to execute REST requests according to the docs snippets that need to be tests. Wraps a RestClient instance used to send the REST requests. Holds the ClientYamlSuiteRestSpec used to translate api calls into REST calls. Supports raw requests besides the usual api calls based on the rest spec.