postmanlabs / postmanlabs/postman-code-generators

Scala+sttp code snippet generator

Open
#722 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1k
Forks
381
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
The current version of the Postman client does not allow generating code snippets for Scala.
SoftwareMill's sttp project provides an abstraction layer when making HTTP requests in Scala, and I believe we should add support for feature i.e. generating Scala code-snippets using the sttp module.

Describe the solution you'd like

  • Add support for Scala+http in the codegens module in this project.

Additional context
ref. sttp#1785

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the codegens module to understand how existing language and HTTP-client generators are organized, then read the referenced sttp#1785 issue for integration context. The work is complete when the Postman client can generate Scala code snippets using sttp for HTTP requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.