From 07e329e8d01fd0576de6a0a3c35412fd5a9163db Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Fri, 1 Nov 2024 10:04:43 +1300 Subject: [PATCH] Remove SourceField mode (#652) * Remove SourceField mode Signed-off-by: Thomas Farr * Add PR number Signed-off-by: Thomas Farr * Bump version Signed-off-by: Thomas Farr --------- Signed-off-by: Thomas Farr --- CHANGELOG.md | 3 +++ spec/_info.yaml | 2 +- spec/schemas/_common.mapping.yaml | 8 -------- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 598dd71a3..5bc71eaeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ### Added - Added API specs for query groups lifecycle APIs ([#649](https://github.com/opensearch-project/opensearch-api-specification/pull/649)) +### Removed +- Removed unsupported `_common.mapping:SourceField`'s `mode` field and associated `_common.mapping:SourceFieldMode` enum ([#652](https://github.com/opensearch-project/opensearch-api-specification/pull/652)) + ## [0.1.0] - 2024-10-25 ### Added diff --git a/spec/_info.yaml b/spec/_info.yaml index f9d169602..81d079772 100644 --- a/spec/_info.yaml +++ b/spec/_info.yaml @@ -1,5 +1,5 @@ $schema: ./json_schemas/_info.schema.yaml title: OpenSearch API Specification -version: 0.1.1 +version: 0.2.0 x-api-version: 2.16.0 diff --git a/spec/schemas/_common.mapping.yaml b/spec/schemas/_common.mapping.yaml index 2ec2dfbda..6523b2143 100644 --- a/spec/schemas/_common.mapping.yaml +++ b/spec/schemas/_common.mapping.yaml @@ -1202,14 +1202,6 @@ components: type: array items: type: string - mode: - $ref: '#/components/schemas/SourceFieldMode' - SourceFieldMode: - type: string - enum: - - disabled - - stored - - synthetic DataStreamTimestamp: type: object properties: