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

View [partials.example-requests.go] not found. #684

Closed
1 task done
adityadees opened this issue Jun 13, 2023 · 1 comment
Closed
1 task done

View [partials.example-requests.go] not found. #684

adityadees opened this issue Jun 13, 2023 · 1 comment

Comments

@adityadees
Copy link

adityadees commented Jun 13, 2023

Scribe version

^4.21

PHP version

8.1.20

Framework

Laravel

Framework version

10.10

Scribe config

auth.enabled => true

What happened?

Run php artisan scribe:generate

✔ Processed route: [POST] api/xxxxx
ⓘ Extracting intro and auth Markdown files to: .scribe
✔ Extracted intro and auth Markdown files to: .scribe
ⓘ Writing HTML docs...

 Illuminate\View\ViewException 

  View [partials.example-requests.go] not found. (View: /var/www/html/vendor/knuckleswtf/scribe/resources/views/themes/default/endpoint.blade.php) (View: /var/www/html/vendor/knuckleswtf/scribe/resources/views/themes/default/endpoint.blade.php) (View: /var/www/html/vendor/knuckleswtf/scribe/resources/views/themes/default/endpoint.blade.php)

  at vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:137

Docs

image
@adityadees adityadees added bug Something isn't working triage labels Jun 13, 2023
@shalvah shalvah removed bug Something isn't working triage labels Jun 30, 2023
@shalvah
Copy link
Contributor

shalvah commented Jun 30, 2023

There's no go example included in the package. You need to create your own Go template. See the docs on adding a custom example request.

@shalvah shalvah closed this as completed Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants