Comments (3)
this is causing the above issue:
#[Endpoint('Get signature', 'This endpoint allows you to retrieve an stored signature')]
#[UrlParam('signature_id', 'Id uf the signature', example: '42342-4234-rfdsff-3432f')]
public function show(Request $request, string $signature_id)
{
$us = UserSignature::whereId($signature_id)->first();
if (is_null($us)) {
return $this->sendError(error: 'Signature does not exists');
}
if ($us->user_id != $request->user()->id) {
return $this->sendError(error: 'Signature does not belong to you');
}
return $this->sendResponse(new UserSignatureResource($us));
}
There is no Enum in the above
if I uncomment all #[UrlParam()
it works
from scribe.
Hmm, thought I had covered for that, but I'll take a look.
from scribe.
This should be fixed now (4.23.1).
from scribe.
Related Issues (20)
- Missing translations HOT 5
- file_put_contents(public/docs/openapi.yaml): Failed to open stream: No such file or directory HOT 3
- is it possible to outsource the @bodyParam to a file like we can do this with @responseFile ? HOT 1
- Dynamic url for base_url suggestion not working HOT 1
- Response Parameters HOT 1
- Try it out unable to get base Url HOT 2
- Example request not adhering to FormRequest Rules HOT 2
- QueryException after endpoint with qued task is hit HOT 2
- cannot install scribe HOT 2
- suppressing FormRequest attributes added in prepareForValidation HOT 1
- HELP - Document is not generating after composer update HOT 3
- Issue On Installing with Laravel 10 HOT 10
- Call to undefined method PhpParser\ParserFactory::create() HOT 5
- Example Request buggy in Elements Theme HOT 2
- PhpParser\Lexer\Emulative::__construct(): Argument #1 ($phpVersion) must be of type ?PhpParser\PhpVersion, array given HOT 2
- Documation not loading on browser HOT 15
- Requesting new Release Version HOT 2
- Refactor for easier customization HOT 3
- Generating Scribe views from an openapi.yml file HOT 1
- Nested translations for validation rules rely on non-universal translation feature 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.