asyncapi / asyncapi/cli

[FEATURE] Ensure Java / Kotlin code is marked as generated

Open
#2,295 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
272
Forks
375
Avg merge
3h 22m
Merged PRs (30d)
8

Description

### Why do we need this improvement?

This improvement is needed so that generated code can easily be excluded from quality analysis by standard JVM tooling.

### How will this change help?

Some quality tools allow exclusion by filesystem path or package; others require annotations to exclude the code. This change will improve ease of use for JVM-based consumers.

### Screenshots

_No response_

### How could it be implemented/designed?

Any generated class must be annotated with `jakarta.annotation.Generated` to simplify excluding the code from various quality tools.

### 🚧 Breaking changes

No

### 👀 Have you checked for similar open issues?

- [x] I checked and didn't find a similar issue

### 🏢 Have you read the Contributing Guidelines?

- [x] I have read the [Contributing Guidelines](https://github.com/asyncapi/.github/blob/master/CONTRIBUTING.md)

### Are you willing to work on this issue?

No, someone else can work on it.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the issue. Start by locating the generator entry points and Java/Kotlin templates, then determine where generated classes are produced. Done means every generated class carries the requested jakarta.annotation.Generated annotation and the relevant generation checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.