Comments (7)
Interesting. Sounds like a bug in the implementation. Shouldn't be too hard to investigate this (look for where examples are generated in the relevant strategy and check out what's going on there), but I won't have time for a while, so any contribution is welcome.
from scribe.
Fixed in 1.8.2
from scribe.
Welp, reverting this change because it broke something. Also, you didn't let me know that this is Dingo router (figured that out because Laravel doesn't support this syntax, even though I couldn't find any mention in the Dingo docs).
I'm closing this issue as a wontfix. I don't think there's much value in adding this.
from scribe.
Dingo Router? Not used. It's native Lumen.
from scribe.
I see. You shoulda mentioned that.
from scribe.
This is why there's a bug report template^^^
from scribe.
Fixed this in the upcoming v2 - 53208d9. Did a few rough tests on my machine, but not more than that, because setting up automated tests for this with Lumen is a Herculean tash.
Seriously, people need to stop using Lumen.😐
from scribe.
Related Issues (20)
- How can I access the docs in production HOT 2
- Error with variables in base URL HOT 1
- Scribe doesn't overwrite URL parameters which bound to corresponding models HOT 2
- Use Laravel's validation functionality to map body parameters HOT 1
- Error when generating Laravel Blade files HOT 1
- API Token from use_value is included in generated Postman collection HOT 1
- Validation rules forces body or query params? HOT 2
- Generate response model of swagger using scribe HOT 1
- Why composer return error code 2 when trying to generate docs? HOT 2
- Query Parameters for Pagination HOT 3
- How to deal with Resources that use more attributes than the model have? HOT 1
- Extracting rules from form requests leveraging Laravel DI on rules method HOT 2
- Scribe Try It Out Base URL setting being ignored when generated with laravel setting HOT 2
- How to deal with custom fields in laravel Resources? HOT 1
- Using `file` (Content-Type: multipart/form-data) together with array or objects doesn't work HOT 5
- whenLoaded vs whenCounted HOT 3
- Latest version is a breaking change HOT 3
- @hideFromAPIDocumentation does not work HOT 1
- Add more integraion tests
- Docs not found after deploy of Laravel 10.X project with Vapor 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.