code: def _match_data_to_parameter(cls, data):
      
      in_value = data["in"]
      for cls in [QueryParameter, HeaderParameter, FormDataParameter,
                  PathParameter, BodyParameter]:
          if in_value == cls.IN:
              return cls
      return None
docs: find the appropriate parameter for a parameter field