You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had issues with the function name generation, a path like /user/logout generated as api.user.logoutList() but it is not actually a list.
A different path like /clients/{zone} is generated as api.clientsDetail() which is actually a list.
It would be a good feature to give control over the naming, or use the naming scheme that the swagger.io generator uses. it suffixes the name with the http method, like api.user.logoutGET() and api.clientsGET().
The current behavior that checks if the path contains placeholders are working only on simple or example apis I quess.
I had issues with the function name generation, a path like
/user/logout
generated asapi.user.logoutList()
but it is not actually a list.A different path like
/clients/{zone}
is generated asapi.clientsDetail()
which is actually a list.It would be a good feature to give control over the naming, or use the naming scheme that the swagger.io generator uses. it suffixes the name with the http method, like
api.user.logoutGET()
andapi.clientsGET()
.The current behavior that checks if the path contains placeholders are working only on simple or example apis I quess.
swagger-typescript-api/templates/base/route-name.ejs
Line 18 in b0fab0d
swagger-typescript-api version: 13.0.12
The text was updated successfully, but these errors were encountered: