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

@hideFromAPIDocumentation does not work #716

Closed
1 task done
rabol opened this issue Aug 25, 2023 · 1 comment
Closed
1 task done

@hideFromAPIDocumentation does not work #716

rabol opened this issue Aug 25, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@rabol
Copy link

rabol commented Aug 25, 2023

Scribe version

4.23.0

PHP version

8.2.9

Framework

Laravel

Framework version

10.20

Scribe config

type => "laravel"
laravel.docs_url => "/developer/docs"
try_it_out.enabled => false
try_it_out.base_url => "developer/"
auth.enabled => true
auth.default => true
auth.name => "token"
logo => "/img/logo.png"

What happened?

@hideFromAPIDocumentation does not hide the endpoint.


/** @hideFromAPIDocumentation */
Route::middleware(['auth.basic'])->prefix('postmark')->as('postmark.')->group(function () {
    /** @hideFromAPIDocumentation */
    Route::post('/', [PostmarkWebhookController::class, 'handle'])->name('handle');
});

the above is in the final doc

Docs

@rabol rabol added bug Something isn't working triage labels Aug 25, 2023
@shalvah
Copy link
Contributor

shalvah commented Aug 25, 2023

It should be on the controller method or class definition.

@shalvah shalvah closed this as completed Aug 25, 2023
@shalvah shalvah removed the triage label Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants