Skip to content

Commit

Permalink
adding POST role mapping test
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Dec 17, 2024
1 parent 051e042 commit 4bec8d6
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion tests/default/indices/mapping/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,23 @@ chapters:
response:
status: 200
payload:
acknowledged: true
acknowledged: true
- synopsis: Add or update mapping using POST method.
path: /{index}/_mapping
method: POST
parameters:
index: movies
allow_no_indices: false
ignore_unavailable: false
expand_wildcards: open
request:
payload:
properties:
actor:
type: text
rating:
type: float
response:
status: 200
payload:
acknowledged: true

0 comments on commit 4bec8d6

Please sign in to comment.