by jicea on 4/17/25, 5:07 PM with 2 comments
by gavinray on 4/17/25, 5:43 PM
They're incredibly useful for embedding executable API documentation in your projects.
What I've always wanted is the ability to embed assertions on the response.
Something like:
POST http://api.mysite.com/todo
Content-Type: application/json
{ "text": "Do the dishes" }
ASSERT_RESPONSE_MATCHES
{ "id": 1, "text": "Do the dishes" }
Currently I do this with manual scripting