code: def _format_base_path(self, api_name):
          
          name = self.app_name
          if self.app_name != api_name:
              name = '{0}-{1}'.format(self.app_name, api_name)
          return name
docs: Format the base path name.