From e0ad5dacefc7a647ad46bcde7c25b7c0f8f35f31 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Wed, 6 Mar 2024 16:28:40 +0500 Subject: [vim] Plug upgrade --- files/.vim/templates/=template=hurl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 files/.vim/templates/=template=hurl (limited to 'files/.vim/templates/=template=hurl') diff --git a/files/.vim/templates/=template=hurl b/files/.vim/templates/=template=hurl new file mode 100755 index 0000000..71554ea --- /dev/null +++ b/files/.vim/templates/=template=hurl @@ -0,0 +1,11 @@ +#!/usr/bin/env -S hurl --test + +# GET http://localhost/api/method +# [QueryStringParams] +# filter: {{capture_value}} +# HTTP 200 +# [Asserts] +# jsonpath "$.content" count == 1 +# jsonpath "$.content[0].id" > 0 +# [Captures] +# id: jsonpath "$.content[0].id" -- cgit v1.2.3