OpenAPITools / OpenAPITools/openapi-generator

[REQ] Support Rxjava2 in Spring reactive generator

Open
#2,473 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is your feature request related to a problem? Please describe.

@diyfr @wing328

When I active reactive on configOptions in the maven/gradle generator plugin is wrap the interfaces with Reactor Mono.

Describe the solution you'd like

Should be possible to choose between Reactor and RxJava2 libraries, because spring support both implementations

Describe alternatives you've considered

I know we can extend the behavior with a custom mustache template, but is not transparent for the developers.

I don't know if exist other workaround...

Regards

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 locating the maven/gradle generator plugin's reactive configOption and the custom mustache templates involved in wrapping interfaces with Reactor Mono. Trace how generated Spring interfaces select their reactive library. Done means the configuration can choose Reactor or RxJava2 and the generated interfaces use the selected library.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.