redux-toolkit
redux-toolkit copied to clipboard
RTK Query OpenAPI codegen: Name endpoints by summary or description instead of path?
Hi,
In the back-end of my project each route has a summary with a more easy to remember name than the routes. For example, the route /organization/:organizationId/user/:userId
would result in a hook called useGetOrganizationByOrganizationIdAndUserByUserId
instead of being called useGetOrganizationUser
if the naming convention follow the summary
tag of the route.
I'm wondering if this is already possible today or if I can make a feature request? :)
Thank you in advance!