OpenAPITools / OpenAPITools/openapi-generator

[REQ][Java][resttemplate] Add templated server support to Java resttemplate client

Open
#5,678 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Client: Java Enhancement: Feature Feature: OAS 3.0 spec support
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Description

Would like to to see support for new ServerConfiguration/ServerVariable added to the Java resttemplate client templates, similar to what was added in #4998 for the base client and jersey2.

openapi-generator version

4.2.3

Related issues/PRs

#4998

Suggest a fix/enhancement

I am willing to make this enhancement (with a little guidance from the group). Would basically use the original change as an example.

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 comparing the Java RestTemplate templates with the base client and jersey2 changes referenced in #4998. Trace how ServerConfiguration and ServerVariable support is represented there, then apply the equivalent support to the RestTemplate client and verify the generated client behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
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.