Skip to main content
Route discovery is what sets Dragonfly apart. Instead of typing every endpoint by hand, you point Dragonfly at your project and it reads your source for routes, then builds a collection from what it finds.

Scan a workspace

1

Run the command

Open the Command Palette and run Scan Workspace for Routes, or use the scan action in the Dragonfly sidebar.
2

Review the collection

Dragonfly parses your source, finds every Express and Next.js endpoint, and builds a collection you can send right away. Folders mirror your codebase structure.
3

Re-scan as you go

Add a route later and run the scan again. Dragonfly picks up new and deleted routes and updates the collection.

Supported frameworks

Express

Route handlers, including nested and Router-level routes.

Next.js

API routes across both the App Router and the Pages Router, including route groups.
For any other framework, import an OpenAPI spec, a Postman, Thunder Client or Insomnia collection, a HAR capture, or a single cURL command. See Importing.

What a scan produces

A scan reads a project like this:
routes/users.js
And builds a collection of requests, foldered to match your source:
Path parameters such as :id are ready to fill in, and the requests are grouped into folders that follow your project layout.
Route discovery covers Express and Next.js today. Which framework it should learn next is driven by what people ask for. Send a request to saurowankhade@gmail.com.