OpenAPITools / OpenAPITools/openapi-generator

[REQ] Kotlin Spring Allow Force generate Reactive

Open
#21,180 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.

I want to generate reactive coroutine files for spring-cloud, but I am being prevented by the error, that it is not support bei Feign.

Describe the solution you'd like

In fact it is supported, just not in the @FeignClient annotation way. I want to be able to generate my classes regardless of this error and not have to rewrite all mustache templates, only the ones needed.

Describe alternatives you've considered

Alternative is rewriting all check mustache templates to enforce it being always there.

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 with the Kotlin Spring generator's handling of reactive coroutine generation for spring-cloud and the @FeignClient restriction, then inspect the related mustache templates. Define how a force-generation option should bypass that restriction without requiring every template to be rewritten. Done means the requested classes can be generated despite the Feign limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, spring
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.