code: def path_param(name, ns):
      
      if ns.identifier_type == "uuid":
          param_type = "string"
          param_format = "uuid"
      else:
          param_type = "string"
          param_format = None
  
      kwargs = {
          "name": name,
          "in": "path",
          "required": True,
          "type": param_type,
      }
      if param_format:
          kwargs["format"] = param_format
      return swagger.PathParameterSubSchema(**kwargs)
docs: Build a path parameter definition.