From a3a2ebe6abae315ccfc0f008dbd86b56dec5fc3a Mon Sep 17 00:00:00 2001 From: RadhaKrishnan Rajendran Date: Sun, 5 Jul 2026 20:36:50 +0530 Subject: [PATCH] fix: remove unsupported name field from DerivedField schema The DerivedField type in _common.yaml declares a 'name' property and marks it as required, but OpenSearch does not recognize this field in mapping definitions. When a client serializes a DerivedField with 'name' set, the server rejects the request with a mapper_parsing_exception: [mapper_parsing_exception] Failed to parse mapping: unknown parameter [name] Remove the 'name' property from DerivedField.properties and from the required list so the schema matches the actual server behavior. Signed-off-by: RadhaKrishnan Rajendran Signed-off-by: Radhakrishnan Pachyappan --- spec/schemas/_common.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/spec/schemas/_common.yaml b/spec/schemas/_common.yaml index 7bc8d30c7..94bed5699 100644 --- a/spec/schemas/_common.yaml +++ b/spec/schemas/_common.yaml @@ -576,8 +576,6 @@ components: DerivedField: type: object properties: - name: - type: string type: type: string script: @@ -591,7 +589,6 @@ components: format: type: string required: - - name - script - type Sort: