ruby-grape / ruby-grape/grape-swagger
Error opening a file after update to 1.5.0
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 1.1k
- Forks
- 479
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 6
Description
After updating to 1.5.0, it started throwing this error:
Error: Error opening file "/home/runner/work/api/api/swagger_doc.json"
ENOENT: no such file or directory, open '/home/runner/work/api/api/swagger_doc.json'
Rolling back to previous version
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
Reproduce the upgrade to 1.5.0 and trace the code path that opens /home/runner/work/api/api/swagger_doc.json. Check how the file path is determined and verify the issue is resolved when the expected Swagger document can be opened without an ENOENT error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, ruby
- Domain
- api, documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100