OpenAPITools / OpenAPITools/openapi-generator

[REQ] Support the use of tags for delegated Kotlin APIs (useTags)

Open
#5,497 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.

The Java Spring (server side) generator supports generating an API using the delegate pattern with or without the use of tags as names for the generated classes. Tags do not work for a Kotlin Spring API.

Describe the solution you'd like

Allow tags to be used as names of the generated classes (the useTags option)

Describe alternatives you've considered

None

Additional context

This is very useful for the creation of versioned APIs.

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

The issue concerns delegated Kotlin Spring API generation and identifies the Java Spring generator's useTags behavior as the comparison point. Start by tracing how useTags is handled in both generators and verify generated class names for a tagged, versioned API. Done means Kotlin Spring supports useTags consistently with Java Spring.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin, spring
Domain
backend-api-design, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.