knuckleswtf / knuckleswtf/scribe

Making Header Required

Open
#987 2 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
PHP
Stars
2.3k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

### Scribe version

5.2

### Your question

Is there a way to make header like this #[Header("Accept", "application/json")] required so that it always shows up in the example ?

### Docs

- [x] I've checked [the docs](https://scribe.knuckles.wtf/laravel), the [troubleshooting guide](https://scribe.knuckles.wtf/laravel/troubleshooting), and [existing issues](https://github.com/knuckleswtf/scribe/issues?q=is%3Aissue+), but I didn't find a solution

Contributor guide

Open the contributing guide

Research direction

Start with the Laravel documentation, troubleshooting guide, and existing issues linked in the report; the issue names no source file or test. Confirm whether Scribe supports marking #[Header("Accept", "application/json")] as required, with the generated example consistently showing that header as the completion criterion.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
api, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.