redux-toolkit icon indicating copy to clipboard operation
redux-toolkit copied to clipboard

RTK Query OpenAPI codegen: Name endpoints by summary or description instead of path?

Open Nautman opened this issue 2 years ago • 0 comments

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!

Nautman avatar Jul 21 '22 10:07 Nautman