OpenAPITools / OpenAPITools/openapi-generator

[REQ] Remove files no-longer in FILES

Open
#15,669 3 comments 4 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

Hi.
More a question at this point than a FR:
when an api change translates to a removal of a file entry from .openapi/FILES, is there a way to make the generator remove that file?

If not, shouldn't there be? Or instead, a clarifying note on the matter on the docs ("files showing as removed from FILES - aren't. If you want them gone, remove manually")?

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 reviewing how the generator handles entries removed from .openapi/FILES, then check the related documentation. Done means the issue’s chosen outcome is supported: removed entries are deleted automatically, or the documentation clearly explains that manual removal is required.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.