From d96677c543267e87230ae55d95753aff7672911d Mon Sep 17 00:00:00 2001 From: Tokesh Date: Mon, 16 Dec 2024 00:01:05 +0500 Subject: [PATCH] adding type to mterm vector specs Signed-off-by: Tokesh --- CHANGELOG.md | 2 +- spec/schemas/_core.mtermvectors.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21b9f894c..f8e2b7993 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,7 +33,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Added response schema for `PUT` and `DELETE /_plugins/_transform/{id}` ([#722](https://github.com/opensearch-project/opensearch-api-specification/pull/716)) - Added response schema for `GET /_plugins/_knn/warmup/{index}` ([#717](https://github.com/opensearch-project/opensearch-api-specification/pull/717)) - Added support for multiple test verbs ([#724](https://github.com/opensearch-project/opensearch-api-specification/pull/724)) -- Added `_type` to `term_vector` API specs ([#734](https://github.com/opensearch-project/opensearch-api-specification/pull/734)) +- Added `_type` to `termvector` and `mtermvector` API specs ([#734](https://github.com/opensearch-project/opensearch-api-specification/pull/734)) ### 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)) diff --git a/spec/schemas/_core.mtermvectors.yaml b/spec/schemas/_core.mtermvectors.yaml index deae8eda6..8f2a6d9b3 100644 --- a/spec/schemas/_core.mtermvectors.yaml +++ b/spec/schemas/_core.mtermvectors.yaml @@ -41,6 +41,8 @@ components: $ref: '_common.yaml#/components/schemas/VersionNumber' version_type: $ref: '_common.yaml#/components/schemas/VersionType' + _type: + $ref: _common.yaml#/components/schemas/Type' required: - _id TermVectorsResult: