Skip to content

Commit

Permalink
made code more redundant
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Dec 18, 2024
1 parent 054935d commit 47a10dc
Showing 1 changed file with 3 additions and 20 deletions.
23 changes: 3 additions & 20 deletions tests/default/indices/mapping/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ chapters:
acknowledged: true
- synopsis: Update mapping for an index with setting `dynamic` to `strict`.
path: /{index}/_mapping
method: PUT
method:
- PUT
- POST

Check failure on line 118 in tests/default/indices/mapping/index.yaml

View workflow job for this annotation

GitHub Actions / lint

Expected sequence values to be in ascending order. 'POST' should be before 'PUT'
parameters:
index: movies
allow_no_indices: true
Expand Down Expand Up @@ -146,22 +148,3 @@ chapters:
status: 200
payload:
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 47a10dc

Please sign in to comment.