diff --git a/.apigentools-info b/.apigentools-info index bba638115b..429d6a053c 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-09 22:06:09.999288", - "spec_repo_commit": "8d40e082" + "regenerated": "2025-01-10 21:28:33.426415", + "spec_repo_commit": "cf3ae49b" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-01-09 22:06:10.013561", - "spec_repo_commit": "8d40e082" + "regenerated": "2025-01-10 21:28:33.440781", + "spec_repo_commit": "cf3ae49b" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 7e519f9265..686a96c334 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -45687,7 +45687,8 @@ paths: required: false schema: type: string - - description: Maximum number of spans in the response. + - description: Maximum number of spans in the response. Defaults to 10 and allows + up to 5000. example: 25 in: query name: page[limit] diff --git a/src/datadog_api_client/v2/api/spans_api.py b/src/datadog_api_client/v2/api/spans_api.py index a265889bba..624d06563d 100644 --- a/src/datadog_api_client/v2/api/spans_api.py +++ b/src/datadog_api_client/v2/api/spans_api.py @@ -216,7 +216,7 @@ def list_spans_get( :type sort: SpansSort, optional :param page_cursor: List following results with a cursor provided in the previous query. :type page_cursor: str, optional - :param page_limit: Maximum number of spans in the response. + :param page_limit: Maximum number of spans in the response. Defaults to 10 and allows up to 5000. :type page_limit: int, optional :rtype: SpansListResponse """ @@ -265,7 +265,7 @@ def list_spans_get_with_pagination( :type sort: SpansSort, optional :param page_cursor: List following results with a cursor provided in the previous query. :type page_cursor: str, optional - :param page_limit: Maximum number of spans in the response. + :param page_limit: Maximum number of spans in the response. Defaults to 10 and allows up to 5000. :type page_limit: int, optional :return: A generator of paginated results.