NAME Test::JsonAPI::Autodoc - Test JSON API response and auto generate API documents SYNOPSIS use HTTP::Request::Common; use Test::More; use Test::JsonAPI::Autodoc; # JSON request describe 'POST /foo' => sub { my $req = POST 'http://localhost:5000/foo'; $req->header('Content-Type' => 'application/json'); $req->content(q{ { "id": 1, "message": "blah blah" } }); my $res = http_ok($req, 200, "returns