dryvPacks

@dryv/http-contract-casesv0.1.0

Portable JSON contract cases for cross-language backend and client test harnesses.

HTTP Contract CasesTestingInjectPublished 7 days ago2 downloads

dryv pack add @dryv/http-contract-cases
277 BRaw ↗
jinja
{
  "kind": "dryv-http-contract-case-index",
  "cases": [
{% for dependency in file.dependencies %}
    {
      "semantic_id": {{ dependency.target.id | tojson }},
      "path": {{ dependency.path.relative | tojson }}
    }{% if not loop.last %},{% endif %}
{% endfor %}
  ]
}