Open
Description
Version
5.0.0
Description
Hi,
When using MapRequestPayload with a scalar type value, for example "int"
#[Route('/route', methods: ['PATCH'])]
public function patchRoute(#[MapRequestPayload(type: 'int')] array $ids): Response
{
// ...
}
it triggers the following exception:
Schema of type "\int" can't be generated, no describer supports it. Class "\int" does not exist, did you forget a use statement, or typed it wrong?
in src/Model/ModelRegistry.php (line 131)
JSON OpenApi
No response
Additional context
No response