[PR #8570] fix: resolve duplicate operationId in admin plugin endpoints #16316

Closed
opened 2026-04-13 10:29:30 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/8570

State: closed
Merged: Yes


Retargeting PR #8567 to canary as requested by @bytaesu.


Summary by cubic

Renamed OpenAPI operationIds for admin endpoints to avoid collisions with core endpoints. This prevents duplicate types during schema generation with tools like orval and resolves TS2300 errors.

  • Bug Fixes
    • updateUseradminUpdateUser (admin endpoint)
    • listUserSessionsadminListUserSessions (admin endpoint)

Written for commit bbaa588e85. Summary will update on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/8570 **State:** closed **Merged:** Yes --- Retargeting PR #8567 to `canary` as requested by @bytaesu. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Renamed OpenAPI operationIds for admin endpoints to avoid collisions with core endpoints. This prevents duplicate types during schema generation with tools like `orval` and resolves TS2300 errors. - **Bug Fixes** - `updateUser` → `adminUpdateUser` (admin endpoint) - `listUserSessions` → `adminListUserSessions` (admin endpoint) <sup>Written for commit bbaa588e85eaa924cea1cc4d818b47ea924bc091. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 10:29:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#16316