Comments (4)
This sounds similar to this issue. Have you checked to see if you're documenting routes in your web.php?
from scribe.
Those last two routes look like web routes. Try setting match.prefixes
in your config to ['api/*']
.
from scribe.
Hi, thanks for the quick reply! Yes the last two are web routes and adding ['api/*'] and doing php artisan config:cache
after gave the following output:
So that's working, how do I view in the browser? I've gone to https://website.test/docs but I get a 404. Does this package include the routes or do I need to manually add one? Sorry bit rusty with Laravel atm
from scribe.
Sorry, changed the type to laravel and cleared cache and it's working now. I am getting View [scribe.index] not found.
but I can work it out from here. cheers!
from scribe.
Related Issues (20)
- Strategy ResponseCalls running on all endpoints instead of only GET endpoints HOT 4
- getting 401 Unauthorized in each routes where i set the middleware HOT 1
- Plugin List?
- How to override post-response script content for the postman? HOT 1
- Using @apiResource as a @bodyParam? HOT 1
- scalar theme doesnt properly generate example and child attributes HOT 1
- array request not render and not examplae
- Example is not using factory HOT 1
- Missing 'Accept' => 'application/json' HOT 5
- How to send NULL values? HOT 2
- Support wider range of types
- How use recursive schema ? HOT 1
- 404 Not Found on Production HOT 6
- Multiple responses do not generate oneOf correctly
- The package is ending with a Check Failed Error HOT 1
- Badges don't work with element theme HOT 3
- Response fields overflows to dark box on default theme
- Theme Dark Mode Support HOT 1
- HTML Generated by scribe uses a version of lodash that has had a 9.1 CVE vulnerability since 2019 amongst 5 others HOT 3
- Support auto generete with laravel-data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scribe.