Skip to content

Commit 92f875d

Browse files
committed
Revert "set value required in constant_keyword field type (#419)"
This reverts commit 7e1a233. Signed-off-by: dblock <dblock@amazon.com>
1 parent 7e1a233 commit 92f875d

File tree

3 files changed

+1
-34
lines changed

3 files changed

+1
-34
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
8383
- Fixed query DSL `match` that supports a field name and value ([#405](https://github.com/opensearch-project/opensearch-api-specification/pull/405))
8484
- Fixed `/_mapping` with `index` in query ([#385](https://github.com/opensearch-project/opensearch-api-specification/pull/385))
8585
- Fixed duplicate `/_nodes/{node_id}` path ([#416](https://github.com/opensearch-project/opensearch-api-specification/pull/416))
86-
- Fixed required value for `constant_keyword` field type ([#419](https://github.com/opensearch-project/opensearch-api-specification/pull/419))
8786

8887
### Security
8988

spec/schemas/_common.mapping.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,14 +789,13 @@ components:
789789
- type: object
790790
properties:
791791
value:
792-
type: string
792+
type: object
793793
type:
794794
type: string
795795
enum:
796796
- constant_keyword
797797
required:
798798
- type
799-
- value
800799
FieldAliasProperty:
801800
allOf:
802801
- $ref: '#/components/schemas/PropertyBase'

tests/mapping/constant_keyword.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)