From 3bb379eae34b29fb091cb77be529178d40f78515 Mon Sep 17 00:00:00 2001 From: Brendon Faleiro Date: Thu, 20 Jun 2024 18:29:21 -0700 Subject: [PATCH] Made the InlineGet `source` field optional. Address https://github.com/opensearch-project/opensearch-api-specification/issues/350 Signed-off-by: Brendon Faleiro --- CHANGELOG.md | 1 + spec/schemas/_common.yaml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53beddde3..14dccffae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Refactored spec tester internals to improve reusability ([#302](https://github.com/opensearch-project/opensearch-api-specification/pull/302)) - Renamed `main` release tag to `main-latest` ([#321](https://github.com/opensearch-project/opensearch-api-specification/pull/321)) - Replaced usages of `Opensearch` with `OpenSearch` ([#335](https://github.com/opensearch-project/opensearch-api-specification/pull/335)) +- Made the InlineGet `source` field optional ([#350](https://github.com/opensearch-project/opensearch-api-specification/issues/350)) ### Deprecated diff --git a/spec/schemas/_common.yaml b/spec/schemas/_common.yaml index ce7510e20..8550b5cf7 100644 --- a/spec/schemas/_common.yaml +++ b/spec/schemas/_common.yaml @@ -675,7 +675,6 @@ components: type: object required: - found - - _source Names: oneOf: - $ref: '#/components/schemas/Name' @@ -1255,7 +1254,6 @@ components: type: object required: - found - - _source IndexAlias: type: string ErrorResponseBase: