How to find all api calls from codebase of my ionic app?

I want to write api test cases for various business use cases, for which I need a list of api calls done by my ionic apps, so that I can recreate them in postman. I don’t want to scan and filter log files. Is there any automated way to do so ? Some plugin or extension ?

One way is to look manually in all services files and list the apis but I was looking for a better way to do this because there are a lot of apps, I don’t prefer to do it maunally. All inputs are welcome !

Can you just point out the error in my question ? I have gone through that stack over flow post already !