Add a /generatepostman command for generating Postman collection + environment from backend code #449
muhammedfurkan
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I’m proposing a new Copilot Chat command for VS Code:
/generatepostmanWhen triggered, Copilot analyzes the backend project (controllers, routes, handlers, DTOs, models, validation rules) and automatically generates:
postman.collection.jsonpostman.environment.jsonBoth files should be ready-to-import into Postman.
Why this is useful
Backend developers repeatedly need to:
This is repetitive, slow, and error-prone — but Copilot already understands backend code extremely well.
A dedicated
/generatepostmancommand would turn that understanding into instant documentation + tooling.Desired behavior
When the user types: /generatepostman
Copilot Chat should:
Scan the selected folder or project:
Generate a valid Postman Collection v2.1:
{{baseUrl}},{{authToken}})Generate a Postman Environment:
LocalorDevelopmentbaseUrlauthTokenOutput two code blocks:
postman.collection.jsonpostman.environment.jsonBoth should be valid and directly saveable.
Example usage flow
Beta Was this translation helpful? Give feedback.
All reactions