We, the test automation team, are currently implementing end to end tests. We use the API of the backend team for the setup of the end to end tests, which run via UI.
Should we use the swagger file to generate the API calls or make them hardcoded? If we use the swagger file to autogenerate them, we would never know if the API changed at all, and we wouldn't have to worry about possible changes, as it always autogenerate.
But if we would know that it changes, as our setup would fail, we could also inform the frontend team about those changes, so that we could tell them: did you check if you also updated your frontend for the API changes?
What should we do?