Comments (14)
Is this issue solved ?? I am also getting same error
from blueprint.
This seems to have been merged: https://github.com/dingo/blueprint/pull/44/files/81acaf5159a0447509f71bc17a2ee5732f73de66
from blueprint.
@seanmangar merged but still on master. Is any releases planned yet?
from blueprint.
Hello.
it's look like Laravel changed default order of values in array_first function:
Key / Value Order Change
The first, last, and where methods on the Arr class now pass the "value" as the first parameter to the given callback Closure. For example:
I created a patch that addresses this issue: #44
from blueprint.
I'm getting this error too.
from blueprint.
So no one from the core is actually looking to fix this?
from blueprint.
Can you a release a new version with that code version because it didn't work now, need to be a new version?
But if you copy that code directly in package, it's works!
from blueprint.
waiting for the master to merge this...
from blueprint.
Tagged 0.2.1 which includes this fix, as well as other adjustments.
from blueprint.
Hi @hskrasek,
I'm using dingo/api and dingo/blueprint version is 0.2.2 and this error still exist:
➜ git:(master) ✗ php artisan api:docs
[RuntimeException]
No HTTP method given, invalid API blueprint.
Any solution?
from blueprint.
@silasrm Try post => Post and get => Get and so on. May help you.
from blueprint.
Hi @purocean,
Same problem. I change method in annotations like this:
// before
/**
* Return status of API
*
* Get a JSON with represetation of status of API
*
* @GET("/")
* @Transaction({
* @Request(),
* @Response(200, body={"status": "OK"})
* })
*/
// after
/**
* Return status of API
*
* Get a JSON with represetation of status of API
*
* @get("/")
* @Transaction({
* @Request(),
* @Response(200, body={"status": "OK"})
* })
*/
I'm wrong?
from blueprint.
@silasrm use Get()
from blueprint.
@purocean sorry for delay!
With Get()
is OK :D
Thks!
from blueprint.
Related Issues (20)
- Add schema section
- A spell miss in blueprint/src/Blueprint.php? HOT 1
- Support for standalone sections outside of classes HOT 4
- Syntax Error HOT 1
- Arrays in parameters HOT 2
- Resource Group Versions
- How to use this without dingo/api? HOT 2
- Resource is a (soft) reserved word as of PHP 7.0 HOT 1
- Use AnnotationReader instead of SimpleAnnotationReader
- Ability to generate per controller
- Laravel 5.4 HOT 3
- How do you guys adding overview section?
- Incompatible with Phpdocumentor Reflection-Dockblock 3.2.1
- Incompatible with Laravel 5.5
- How can I represent `array[object]` attributes? HOT 4
- Why this package doesn't support L5.5, 5.6 HOT 2
- Invalid tag v3.0.1 HOT 3
- Support PHP8? HOT 1
- Is there a contradiction? HOT 3
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 blueprint.