Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barnuri committed Apr 30, 2024
1 parent d15e904 commit 8bd32d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/generators/GeneratorAbstract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ export abstract class GeneratorAbstract {
shortName = !shortName.toLowerCase().startsWith(`/${controllerPath.controller}/`.toLowerCase())
? shortName
: shortName.substring(`/${controllerPath.controller}/`.length);
shortName = capitalize(shortName);
shortName = shortName.replace(this.cleanRegex, '');
shortName = controllerPath.method.toLowerCase() + capitalize(shortName);
} catch {}
Expand Down

0 comments on commit 8bd32d7

Please sign in to comment.