Even if I remove the ping.controller.ts file, the REST API is still available.
_See Reporting Issues for more tips on writing good issues_
Removing ts file does not delete the generated js file. Please run npm run clean && npm run build.
thanks @raymondfeng that worked.
Most helpful comment
Removing ts file does not delete the generated js file. Please run
npm run clean && npm run build.