OpenSearch/qa/backwards-5.0
javanna f4aab0138d introduce ToXContentObject interface
`ToXContentObject` extends `ToXContent` without adding new methods to it, while allowing to mark classes that output complete xcontent objects to distinguish them from classes that require starting and ending an anonymous object externally.

Ideally ToXContent would be renamed to ToXContentFragment, but that would be a huge change in our codebase, hence we simply document the fact that toXContent outputs fragments with no guarantees that the output is valid per se without an external ancestor.

Relates to #16347
2017-01-06 23:31:48 +01:00
..
src/test/java/org/elasticsearch/backwards introduce ToXContentObject interface 2017-01-06 23:31:48 +01:00
build.gradle Switch from standalone-test to standalone-rest-test 2017-01-05 10:55:47 +01:00