[BUG][GRADLE] `ignoreFileOverride` in `GenerateTask` is only an `@Input` not an `@InputFile`
Created by: Vampire
Bug Report Checklist
-
Have you provided a full/minimal spec to reproduce the issue? -
Have you validated the input using an OpenAPI validator (example)? -
Have you tested with the latest master to confirm the issue still exists? -
Have you searched for related issues/PRs? -
What's the actual output vs expected output? -
[Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
Just as the title says, ignoreFileOverride
in GenerateTask
is only an @Input
not an @InputFile
.
That means if the content of the ignore file changes, the task is not rerun, but only if the name or path of the file changes.
openapi-generator version
5.2.1
Steps to reproduce
- set an
ignoreFileOverride
- run the task
- change the content of the ignore file
- run the task again
- see that it is skipped instead of rerun