DashAPI is a VS Code extension for testing REST APIs without leaving your editor. It currently supports request history, saved collections, import/export to .dashapi.json, and lightweight route discovery for FastAPI and Express workspaces.
Features
- Send
GET,POST,PUT, andDELETErequests from inside VS Code - Save requests into named collections
- Export and import collections with
.zapi.json - Keep a recent request history
- Scan the current workspace for FastAPI and Express endpoints
Run In Development
- Open
/Users/meetjethwa/Development/Extensions/API-Testerin VS Code. - Press
F5. - Choose
Run Extension. - In the Extension Development Host window, open the Command Palette.
- Run
DashAPI: Open API Tester.
Use The Installed Extension
- Open any project in VS Code.
- Open the Command Palette.
- Run
DashAPI: Open API Tester. - Or click the
DashAPIicon in the Activity Bar.
Test The Extension
Current automated testing is a smoke check:
npm test
This verifies the extension still compiles. Manual testing is recommended for the UI flow:
- Open the tester.
- Send a request to a local or public API.
- Save the request to a collection.
- Export collections.
- Import them back.
- Run
DashAPI: Scan Workspace for API Endpoints.
Build And Package
npm run compile
npm run package
Current Limitations
- Endpoint scanning is regex-based and currently focused on FastAPI and Express
- Collections are still rendered in the webview UI
npm testis only a compile smoke test for now