Convert 'id' and '_id' values in REST API tests to strings (#82681)

Follow-up from #77144 (comment) with converting id/_id to always be strings instead of integers. This makes the type value in the Elasticsearch specification be only string instead of string | number.

this change was generated using following command on ubuntu
find . -type f -name "*.yml" -print0 | xargs -0 sed -i -r 's/([^a-zA-Z0-9_\.]id|[^a-zA-Z0-9_]_id):(\s*)([0-9]+)/\1:\2"\3"/g'
This commit is contained in:
Przemyslaw Gomulka 2022-02-10 09:14:17 +01:00 committed by GitHub
parent 98fdf4fa59
commit 037261356e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
349 changed files with 1728 additions and 1728 deletions

View file

@ -11,7 +11,7 @@ setup:
- do:
index:
index: test123
id: 1
id: "1"
body: { age: 23 }
- do: