postmanlabs / postmanlabs/postman-code-generators

Java - Spring WebClient Code Generator

Open
#235 8 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

codegen feature new-language-support
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 Spring Framework is a popular application framework. While RestTemplate is usually used for RESTful communication, the library is now deprecated as per the Spring Framework 5.0 Documentation
WebClient is the future-ready solution to RESTful Communication in Java Spring

Describe the solution you'd like
I would like to contribute by adding a CodeGenerator for the Java Spring WebClient configuration. This will help new Spring Developers to instantly generate snippets as well as developers who are migrating from RestTemplate to WebClient to make the process smooth.

Additional context
I would like to have some input from @umeshp7, @shreys7 or any of the other maintainers on how to name this in terms of language variant. Since clearly, the language is Java but the variant is WebClient and not Spring. Could we do something like what we did with JavaScript and NodeJs?

Open to inputs. Thanks!

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 reviewing the repository's existing Java and JavaScript/NodeJs generator conventions, then seek maintainer input on how the Spring WebClient variant should be named. Done means a Java Spring WebClient code generator is added and produces the requested REST communication snippets.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
backend, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.