OpenAPITools / OpenAPITools/openapi-generator
[BUG] Spurious changes in ./bin/utils/export_docs_generators.sh output on Windows
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Bug Report Checklist
- [ X ] Have you provided a full/minimal spec to reproduce the issue?
- [ N/A ] Have you validated the input using an OpenAPI validator (example)?
- [ X ] Have you tested with the latest master to confirm the issue still exists?
- [ X ] Have you searched for related issues/PRs?
- [ X ] What's the actual output vs expected output?
- [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
running the steps required as part of the PR template generates a bunch of junk on Windows, from / vs \ filepath differences
openapi-generator version
master branch
Generation Details
running the steps required as part of the PR template
Steps to reproduce
- Open git-bash on Windows
git checkout master && git reset --hard && git clean -fdxto make sure you don't have any junk in your local repo./mvnw clean package./bin/utils/export_docs_generators.shto generate the samplesgit diffto see the unwanted changes.
Expected output: nothing in the diff
Actual output: very long, containing a lot of spurious changes. See attached
tmp.txt
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with bin/utils/export_docs_generators.sh and reproduce the issue in Git Bash on Windows using the listed clean, build, and export commands. Inspect how the script handles file paths, then run git diff to verify that the export produces no spurious changes compared with a clean checkout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100