Test JSON API response and auto generate API documents