def test_convert_parameter_schema(
      self, converter, param_data, expected_result
  ):
    """Test conversion of parameter definitions to OpenAPI schemas."""
    converted = converter._convert_parameter_schema(param_data)

    # Check all expected attributes
    for key, value in expected_result.items():
      assert converted[key] == value
Test conversion of parameter definitions to OpenAPI schemas.
tests/unittests/tools/google_api_tool/test_googleapi_to_openapi_converter.py