make API calls to add swagger paths and operations as conditional flow