OpenAPITools / OpenAPITools/openapi-generator

[REQ] Java Microprofile REST Client Template

Open
#2,272 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Overview

Issue will cover discussion for generating Microprofile REST Client-compliant Java code.

Description

Issue will cover discussion for generating Microprofile REST Client-compliant Java code. The MP REST client sticks close to JAX-RS, but the additional benefit is an implementation-agnostic approach based on the application server.

Suggest an enhancement

Microprofile REST Client-compliant Java code template.

Additional comments

I am not well-versed with Mustache templating, but I know that this tool is the go-to tool when it comes to generating API service classes. The new template can most likely be based very close to the JAX-RS template, so that can be a good starting point. I will start looking into if it's easy enough for me to submit a PR, but I encourage others to look into picking it up as well. 😊👍

Links

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 reading the existing JAX-RS template and the linked MicroProfile REST Client documentation and source. Determine how the generator's Mustache templates are organized and how a new Java template is registered. Done means the generator produces MicroProfile REST Client-compliant Java code from an OpenAPI specification.

Written by the indexing model from the issue text.

Assessment

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