opnform/app/Http/Requests/AiGenerateFormRequest.php

21 lines
376 B
PHP
Raw Normal View History

2023-03-26 10:54:12 +00:00
<?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 [
2023-10-13 08:05:10 +00:00
'form_prompt' => 'required|string|max:1000'
2023-03-26 10:54:12 +00:00
];
}
}