code: def operation_name(operation, ns):
      
      verb = operation.value.name
      if ns.object_:
          return "{}_{}".format(verb, pluralize(ns.object_name))
      else:
          return verb
docs: Convert an operation, obj(s) pair into a swagger operation id.
  
      For compatability with Bravado, we want to use underscores instead of dots and
      verb-friendly names. Example:
  
          foo.retrieve       => client.foo.retrieve()
          foo.search_for.bar => client.foo.search_for_bars()