Skip to content

Commit eec9121

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 357a756f of spec repo
1 parent 072131f commit eec9121

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-04-11 15:05:29.390383",
8-
"spec_repo_commit": "d209cd40"
7+
"regenerated": "2025-04-11 22:26:29.312408",
8+
"spec_repo_commit": "357a756f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-11 15:05:29.407748",
13-
"spec_repo_commit": "d209cd40"
12+
"regenerated": "2025-04-11 22:26:29.332401",
13+
"spec_repo_commit": "357a756f"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41360,8 +41360,8 @@ paths:
4136041360
description: Search for incidents matching a certain query.
4136141361
operationId: SearchIncidents
4136241362
parameters:
41363-
- $ref: '#/components/parameters/IncidentSearchIncludeQueryParameter'
4136441363
- $ref: '#/components/parameters/IncidentSearchQueryQueryParameter'
41364+
- $ref: '#/components/parameters/IncidentSearchIncludeQueryParameter'
4136541365
- $ref: '#/components/parameters/IncidentSearchSortQueryParameter'
4136641366
- $ref: '#/components/parameters/PageSize'
4136741367
- $ref: '#/components/parameters/PageOffset'

features/scenarios_model_mapping.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,8 +1353,8 @@
13531353
"body" => "IncidentTypePatchRequest",
13541354
},
13551355
"v2.SearchIncidents" => {
1356-
"include" => "IncidentRelatedObject",
13571356
"query" => "String",
1357+
"include" => "IncidentRelatedObject",
13581358
"sort" => "IncidentSearchSortOrder",
13591359
"page_size" => "Integer",
13601360
"page_offset" => "Integer",

lib/datadog_api_client/v2/api/incidents_api.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1323,14 +1323,14 @@ def search_incidents_with_http_info(query, opts = {})
13231323
if @api_client.config.debugging
13241324
@api_client.config.logger.debug 'Calling API: IncidentsAPI.search_incidents ...'
13251325
end
1326-
allowable_values = ['users', 'attachments']
1327-
if @api_client.config.client_side_validation && opts[:'include'] && !allowable_values.include?(opts[:'include'])
1328-
fail ArgumentError, "invalid value for \"include\", must be one of #{allowable_values}"
1329-
end
13301326
# verify the required parameter 'query' is set
13311327
if @api_client.config.client_side_validation && query.nil?
13321328
fail ArgumentError, "Missing the required parameter 'query' when calling IncidentsAPI.search_incidents"
13331329
end
1330+
allowable_values = ['users', 'attachments']
1331+
if @api_client.config.client_side_validation && opts[:'include'] && !allowable_values.include?(opts[:'include'])
1332+
fail ArgumentError, "invalid value for \"include\", must be one of #{allowable_values}"
1333+
end
13341334
allowable_values = ['created', '-created']
13351335
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
13361336
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"

0 commit comments

Comments
 (0)