ruby-grape / ruby-grape/grape-swagger

Proc for detail?

Open
#827 0 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

the hidden field supports a Proc, but not the detail field. Any chance that is something that would be possible? We have documentation in the database and every time we load the app it does all those queries.

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

Start by locating how the hidden field accepts a Proc and compare it with the detail field handling. Trace the documentation-generation path and related tests, then confirm how detail values are loaded and what behavior is expected when detail is provided as a Proc.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api, documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.