knuckleswtf / knuckleswtf/scribe

Scalar theme doesn't use data from ResponseField attribute.

Open
#921 3 comments 2 reactions 0 assignees View on GitHub
bug triage
Dominant language
PHP
Stars
2.3k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

### Scribe version

4.38.0

### PHP version

8.3

### Framework

Laravel

### Framework version

11.33.2

### Scribe config

```ruby
type => "laravel"
auth.enabled => true
auth.default => true
auth.name => "Authorization"
examples.faker_seed => 2
strategies.bodyParameters => added App\GetFromFormRequest: removed Knuckles\Scribe\Extracting\Strategies\BodyParameters\GetFromFormRequest
```

### What happened?

When using "scalar" theme with "external_laravel" type, it doesn't populate the values from ResponseField attribute in the docs. It works fine with default theme.

### 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

Reproduce the issue using the scalar theme with the external_laravel type and a ResponseField attribute, then compare the generated output with the default theme. Trace how each theme receives response-field data; done when the scalar documentation includes the same populated values as the default theme.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.