Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intro text not displayed in external elements theme #957

Closed
1 task done
LaurinStapf opened this issue Feb 25, 2025 · 2 comments
Closed
1 task done

Intro text not displayed in external elements theme #957

LaurinStapf opened this issue Feb 25, 2025 · 2 comments
Labels
bug Something isn't working triage

Comments

@LaurinStapf
Copy link

Scribe version

v5.1.0

PHP version

8.3

Laravel version

11.42.1

Scribe config

title => "API Documentation"
base_url => null
type => "external_laravel"
theme => "elements"
static.output_path => "public/api/docs"
laravel.docs_url => "/api/docs"
try_it_out.use_csrf => true
auth.enabled => true
auth.name => "token"
auth.placeholder => null
examples.faker_seed => null
strategies.headers => added [
    'override',
    [],
]: removed [
    'Knuckles\\Scribe\\Extracting\\Strategies\\StaticData',
    [
        'only' => [],
        'except' => [],
        'data' => [
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ],
]
strategies.responses => added [
    'Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls',
    [
        'only' => [
            'GET *',
        ],
    ],
]: removed [
    'Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls',
    [
        'only' => [
            'GET *',
        ],
        'except' => [],
        'config' => [
            'app.debug' => false,
        ],
        'queryParams' => [],
        'bodyParams' => [],
        'fileParams' => [],
        'cookies' => [],
    ],
]
routeMatcher => "Knuckles\\Scribe\\Matching\\RouteMatcher"

What happened?

I have noticed for some time that the intro text via the external elements theme is not displayed.
Am I doing something wrong? The information about authentication is displayed.


Is it also possible to deactivate the standard Enpoints group?

Docs

@LaurinStapf LaurinStapf added bug Something isn't working triage labels Feb 25, 2025
@shalvah
Copy link
Contributor

shalvah commented Feb 25, 2025

The intro_text doesn't work with the external themes, since it isn't part of the generated OpenAPI spec. The description is, though, so you can put your stuff in there.

@shalvah shalvah closed this as completed Feb 25, 2025
@shalvah
Copy link
Contributor

shalvah commented Feb 25, 2025

Is it also possible to deactivate the standard Enpoints group?

Change the groups.default config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants