ANW-20 hurl HTTP contract-test harness

This commit is contained in:
Andreas Brenner 2026-05-14 19:04:03 +02:00
parent ec650e6c66
commit b4a33abd71
50 changed files with 415 additions and 2 deletions

View file

@ -0,0 +1,10 @@
# __anw-recursive=false restricts to direct children of __anw-path.
GET {{host}}/query?__anw-path=Projects&__anw-recursive=false
HTTP 200
[Asserts]
# Four notes live directly under Projects/; none under deeper folders here.
jsonpath "$.total" == 4
jsonpath "$.results[*].path" contains "Projects/anwesen.md"
jsonpath "$.results[*].path" contains "Projects/alpha.md"
jsonpath "$.results[*].path" contains "Projects/PDR-001-intro.md"
jsonpath "$.results[*].path" contains "Projects/PDR-002-followup.md"