OpenSearch/core
Ryan Ernst a6ad89bee0 Mappings: Fix get mapping when no indexes exist to not fail in response generation (#21924)
When there are no indexes, get mapping has a series of special cases.
Two of those expect the response object already started, and the other
two respond with an exception. Those two cases (types passed in but no
indexes and vice versa) would fail in their error response generation
because it did not expect an object to already be started in the json
generator. This change moves the object start to where it is needed for
the empty responses.

closes #21916
2016-12-01 16:57:12 -08:00
..
licenses Add version 5.0.3 2016-11-29 18:34:55 -05:00
src Mappings: Fix get mapping when no indexes exist to not fail in response generation (#21924) 2016-12-01 16:57:12 -08:00
build.gradle Update Joda Time to version 2.9.5 (#21468) 2016-11-10 17:32:46 +01:00