The openapi-generator wiki describes a process to skip these files using an ignore file in the output directory. The output directory differs per plugin so including them statically in the repository would require enumerating all different plugins. Instead it is written during generation. The generated file is ignored by git.
I haven't tested this PR since I don't have a test environment. For now I've focused just on Ruby because that's what I consume, but perhaps this also applies to other language bindings. I'd appreciate some guidance from maintainers on this.
The Ruby bindings contain a useless
git_push.sh
script.This then also ends up in the resulting RPM (unless we explicitly exclude it):
The openapi-generator wiki describes a process to skip these files using an ignore file in the output directory. The output directory differs per plugin so including them statically in the repository would require enumerating all different plugins. Instead it is written during generation. The generated file is ignored by git.
I haven't tested this PR since I don't have a test environment. For now I've focused just on Ruby because that's what I consume, but perhaps this also applies to other language bindings. I'd appreciate some guidance from maintainers on this.