From a123ad5d8400b72994e108b41970021266fd547a Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Wed, 18 Dec 2024 21:44:14 +0500 Subject: vim: Update hurl template --- files/.vim/templates/=template=hurl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/files/.vim/templates/=template=hurl b/files/.vim/templates/=template=hurl index 71554ea..c8ad735 100755 --- a/files/.vim/templates/=template=hurl +++ b/files/.vim/templates/=template=hurl @@ -1,11 +1,14 @@ #!/usr/bin/env -S hurl --test # GET http://localhost/api/method -# [QueryStringParams] +# [Options] +# variable: foo="bar" +# [Query] # filter: {{capture_value}} # HTTP 200 # [Asserts] # jsonpath "$.content" count == 1 # jsonpath "$.content[0].id" > 0 +# jsonpath "$..name" includes "test" # [Captures] # id: jsonpath "$.content[0].id" -- cgit v1.2.3