-
Notifications
You must be signed in to change notification settings - Fork 940
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
Parameters in laravel seem a bit too troublesome #1614
Comments
You mean using a schema and using all properties as query parameter? |
You don't have to use all attributes as parameters, you can also consider groups, and then just apply the parameter group in the controller |
Could, but sounds all a bit vague so far :) Maybe with somce proper specs someone might be interested in implementing it :) |
Closing as stale |
There is nothing wrong with the following writing, but it cannot be used in GET
#[OA\RequestBody(content: new OA\MediaType(mediaType: 'application/x-www-form-urlencoded', schema: new OA\Schema(ref: '#/components/schemas/DistrictRequest')))]
The following way of writing in the controller is not elegant enough
I want to use something similar to
RequestBody
, but I can also write it differently inDistrictRequest
The text was updated successfully, but these errors were encountered: