OpenAPITools / OpenAPITools/openapi-generator

[REQ] List Of Generated Files

Open
#3,684 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

We need to dynamically exclude the generated files from lint and coverage report. https://github.com/OpenAPITools/openapi-generator/blob/6addd76e1144d44d5b2f0d4da117c772739bf7d1/modules/openapi-generator-gradle-plugin/src/main/kotlin/org/openapitools/generator/gradle/plugin/tasks/GenerateTask.kt#L617 returns a list of all the generated files. Maybe add the output to project.ext?

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 at modules/openapi-generator-gradle-plugin/src/main/kotlin/org/openapitools/generator/gradle/plugin/tasks/GenerateTask.kt around line 617, where the generated-file list is returned. Trace how the Gradle project exposes generated-file information and how lint and coverage are configured. Done means both reports dynamically exclude the generated files.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.