postmanlabs / postmanlabs/postman-code-generators
Custom generation through template literals
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 381
- PR merge metrics
- No merged PRs in 30d
Description
It would be really nice to be able to generate code of any kind through template literals or something similar.
This is useful for example when creating endpoints for severside APIs where Postman is used to design the API itself.
Currently i have a makeshift code generator in JS to generate special code through generated HTTP (see image below).

But this has limitations. For example path parameters are not provided here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the repository's existing JavaScript code-generator implementations and how generated HTTP requests are represented. Define the template-literal or equivalent API, including how path parameters are supplied, then establish expected generated output and coverage before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, postman
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100