From cfdff3edc6ec5cb68dd5a3d844762964c5209610 Mon Sep 17 00:00:00 2001 From: Seongho Bae Date: Mon, 23 Mar 2026 15:30:45 +0900 Subject: [PATCH] test: document the Google OpenAPI snapshot --- .../test_litellm/interactions/test_openapi_compliance.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/test_litellm/interactions/test_openapi_compliance.py b/tests/test_litellm/interactions/test_openapi_compliance.py index 5d47948dab7..001e4e96cbf 100644 --- a/tests/test_litellm/interactions/test_openapi_compliance.py +++ b/tests/test_litellm/interactions/test_openapi_compliance.py @@ -1,8 +1,11 @@ """ OpenAPI compliance tests for Google Interactions API. -Validates that our SDK requests/responses match the OpenAPI spec at: -https://ai.google.dev/static/api/interactions.openapi.json +Validates that our SDK requests/responses match a checked-in snapshot of the +Google Interactions OpenAPI spec. + +Snapshot refreshed from `https://ai.google.dev/static/api/interactions.openapi.json` +on 2026-03-23. Run with: pytest tests/test_litellm/interactions/test_openapi_compliance.py -v """ @@ -16,7 +19,6 @@ from unittest.mock import MagicMock, patch import pytest from openapi_core import OpenAPI -OPENAPI_SPEC_URL = "https://ai.google.dev/static/api/interactions.openapi.json" OPENAPI_SPEC_SNAPSHOT = Path(__file__).resolve().parent / "google_interactions_openapi_snapshot.json"