Skip to content

Commit 8890707

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[error-tracking] List possible includes in API doc (#1023)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 5d1fe28 commit 8890707

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
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/datadogV2/api/api_error_tracking.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ use std::io::Write;
1414
#[non_exhaustive]
1515
#[derive(Clone, Default, Debug)]
1616
pub struct GetIssueOptionalParams {
17-
/// Comma-separated list of relationship objects that should be included in the response.
17+
/// Comma-separated list of relationship objects that should be included in the response. Possible values are `assignee`, `case`, and `team_owners`.
1818
pub include: Option<Vec<crate::datadogV2::model::GetIssueIncludeQueryParameterItem>>,
1919
}
2020

2121
impl GetIssueOptionalParams {
22-
/// Comma-separated list of relationship objects that should be included in the response.
22+
/// Comma-separated list of relationship objects that should be included in the response. Possible values are `assignee`, `case`, and `team_owners`.
2323
pub fn include(
2424
mut self,
2525
value: Vec<crate::datadogV2::model::GetIssueIncludeQueryParameterItem>,
@@ -33,12 +33,12 @@ impl GetIssueOptionalParams {
3333
#[non_exhaustive]
3434
#[derive(Clone, Default, Debug)]
3535
pub struct SearchIssuesOptionalParams {
36-
/// Comma-separated list of relationship objects that should be included in the response.
36+
/// 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`.
3737
pub include: Option<Vec<crate::datadogV2::model::SearchIssuesIncludeQueryParameterItem>>,
3838
}
3939

4040
impl SearchIssuesOptionalParams {
41-
/// Comma-separated list of relationship objects that should be included in the response.
41+
/// 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`.
4242
pub fn include(
4343
mut self,
4444
value: Vec<crate::datadogV2::model::SearchIssuesIncludeQueryParameterItem>,

0 commit comments

Comments
 (0)