Skip to content

Commit 01a3b23

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[error-tracking] List possible includes in API doc (#2948)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent ff6f9e2 commit 01a3b23

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ components:
449449
type: string
450450
GetIssueIncludeQueryParameter:
451451
description: Comma-separated list of relationship objects that should be included
452-
in the response.
452+
in the response. Possible values are `assignee`, `case`, and `team_owners`.
453453
explode: false
454454
in: query
455455
name: include
@@ -996,7 +996,8 @@ components:
996996
$ref: '#/components/schemas/ServiceDefinitionSchemaVersions'
997997
SearchIssuesIncludeQueryParameter:
998998
description: Comma-separated list of relationship objects that should be included
999-
in the response.
999+
in the response. Possible values are `issue`, `issue.assignee`, `issue.case`,
1000+
and `issue.team_owners`.
10001001
explode: false
10011002
in: query
10021003
name: include

src/datadog_api_client/v2/api/error_tracking_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def get_issue(
189189
190190
:param issue_id: The identifier of the issue.
191191
:type issue_id: str
192-
:param include: Comma-separated list of relationship objects that should be included in the response.
192+
:param include: Comma-separated list of relationship objects that should be included in the response. Possible values are ``assignee`` , ``case`` , and ``team_owners``.
193193
:type include: [GetIssueIncludeQueryParameterItem], optional
194194
:rtype: IssueResponse
195195
"""
@@ -213,7 +213,7 @@ def search_issues(
213213
214214
:param body: Search issues request payload.
215215
:type body: IssuesSearchRequest
216-
:param include: Comma-separated list of relationship objects that should be included in the response.
216+
:param include: Comma-separated list of relationship objects that should be included in the response. Possible values are ``issue`` , ``issue.assignee`` , ``issue.case`` , and ``issue.team_owners``.
217217
:type include: [SearchIssuesIncludeQueryParameterItem], optional
218218
:rtype: IssuesSearchResponse
219219
"""

0 commit comments

Comments
 (0)