88use Scrapegraphai \Core \Concerns \SdkModel ;
99use Scrapegraphai \Core \Concerns \SdkParams ;
1010use Scrapegraphai \Core \Contracts \BaseModel ;
11- use Scrapegraphai \Core \Conversion \ListOf ;
12- use Scrapegraphai \Core \Conversion \MapOf ;
1311
1412/**
1513 * Convert web page content to clean Markdown format.
@@ -26,15 +24,15 @@ final class MarkdownifyConvertParams implements BaseModel
2624 public string $ websiteURL ;
2725
2826 /** @var array<string, string>|null $headers */
29- #[Api(type: new MapOf ( 'string ' ) , optional: true )]
27+ #[Api(map: 'string ' , optional: true )]
3028 public ?array $ headers ;
3129
3230 /**
3331 * Interaction steps before conversion.
3432 *
3533 * @var list<string>|null $steps
3634 */
37- #[Api(type: new ListOf ( 'string ' ) , optional: true )]
35+ #[Api(list: 'string ' , optional: true )]
3836 public ?array $ steps ;
3937
4038 /**
@@ -62,8 +60,8 @@ public function __construct()
6260 *
6361 * You must use named parameters to construct any parameters with a default value.
6462 *
65- * @param array<string, string>|null $headers
66- * @param list<string>|null $steps
63+ * @param array<string, string> $headers
64+ * @param list<string> $steps
6765 */
6866 public static function with (
6967 string $ websiteURL ,
0 commit comments