This commit is contained in:
Julien Nahum
2023-03-26 12:54:12 +02:00
parent 4bb2b59132
commit f4ab98a2b0
8 changed files with 194 additions and 6 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class AiGenerateFormRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array<string, mixed>
*/
public function rules()
{
return [
'form_prompt' => 'required|string'
];
}
}