Class DoSection

java.lang.Object
org.opensearch.test.rest.yaml.section.DoSection
All Implemented Interfaces:
ExecutableSection

public class DoSection extends Object implements ExecutableSection
Represents a do section:

- do: catch: missing headers: Authorization: Basic user:pass Content-Type: application/json warnings: - Stuff is deprecated, yo - Don't use deprecated stuff - Please, stop. It hurts. allowed_warnings: - Maybe this warning shows up - But it isn't actually required for the test to pass. update: index: test_1 type: test id: 1 body: { doc: { foo: bar } }