Skip to content

Commit 032cd89

Browse files
committed
fix(openapi): document recover account endpoint at its registered path
The OA\Post annotation for PostUserAccountRecoverHandler pointed to /account/recover-identity, which is not a registered route. Use /user/account/recover to match RoutesDelegator. Fixes #546
1 parent 45ad282 commit 032cd89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/User/src/OpenAPI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@
925925
* @see PostUserAccountRecoverHandler::handle()
926926
*/
927927
#[OA\Post(
928-
path: '/account/recover-identity',
928+
path: '/user/account/recover',
929929
description: 'Unauthenticated user recovers their identity by providing their email',
930930
summary: 'Unauthenticated user recovers their identity',
931931
requestBody: new OA\RequestBody(

0 commit comments

Comments
 (0)