Unable to set baseurl for swagger call

I have added a swagger data source to my project where i am looking to use the put and post calls. When I run the application in debug instead of using the full url that i gave when adding the doc it looks locally. I can see in the environment.ts that there is a placeholder for the datasource but it is blank and if i fill it in this is overwritten on compile. Where can i specify the url so that it is not overwritten on compliation?

Thanks in advance

The URL should be available in the Deploy screen. If you need to override it for development as well you should either edit your data source .json file or add the environment.ts file to the code generation ignore list.

Adding the environment.ts file to the ignore list worked, thanks