ruby-grape / ruby-grape/grape-swagger

Error opening a file after update to 1.5.0

Open
#865 3 comments 0 reactions 0 assignees View on GitHub

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.