Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>postman-generatorNew to Visual Studio Code? Get it now.
postman-generator

postman-generator

Dwarf Penguin

|
5,074 installs
| (0) | Free
Generates postman JSON from express files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Postman made easy

This is a quickly made generator that loops trough all documents in a specified folder and makes a postman collection for all files that use express. It will take out all the "req.body" values and the route of the API (example: 'api/account/get-user-data').I

Features

  • Makes postman collection from your express modules

Usage

In vscode press CTRL+SHIFT+P to open the commands and type Postman Generator and press enter.

The program will run trough your postmanGenerator.inputPath folder. It will then scoop out all the req.body variables and the route of the API call.

The results will be placed in the postmanGenerator.outputPath folder, in a file called postman.json.

Extension Settings

To open the settings go to File>Preferences>Settings. In the settings you can overwrite the default settings. For more information on this go to: https://code.visualstudio.com/docs/getstarted/settings

This extension contributes the following settings:

  • postmanGenerator.outputPath: Path where the documents will be saved (default "") (example: "C/Users/Your name/Documents/Postman")
  • postmanGenerator.inputPath: Path where the API files are (default "") (example: "C/Users/Your name/Documents/Project/Modules")
  • postmanGenerator.host: Name of the host (default "localhost")
  • postmanGenerator.port: Port of the host (default "8080")
  • postmanGenerator.schema: Postman schema (default "https://schema.getpostman.com/json/collection/v2.1.0/collection.json")
  • postmanGenerator.postmanId: Your postman ID (default "62623d86-e2b8-a437-9d36-3f5befc4af17")
  • postmanGenerator.name: Name of the collection (default "API")
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft