Skip to content

Commit 465a265

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 8176bfc of spec repo (#427)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 05c7789 commit 465a265

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
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.4.1.dev6",
7-
"regenerated": "2021-05-10 15:07:07.260739",
8-
"spec_repo_commit": "b9a2b4b"
7+
"regenerated": "2021-05-10 15:34:45.998508",
8+
"spec_repo_commit": "8176bfc"
99
},
1010
"v2": {
1111
"apigentools_version": "1.4.1.dev6",
12-
"regenerated": "2021-05-10 15:07:35.493870",
13-
"spec_repo_commit": "b9a2b4b"
12+
"regenerated": "2021-05-10 15:35:15.650080",
13+
"spec_repo_commit": "8176bfc"
1414
}
1515
}
1616
}

docs/v1/ServiceLevelObjectiveCorrectionsApi.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Name | Type | Description | Notes
8787
**200** | OK | - |
8888
**400** | Bad Request | - |
8989
**403** | Forbidden | - |
90+
**404** | SLO Not Found | - |
9091

9192
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
9293

src/datadog_api_client/v1/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17241,6 +17241,12 @@ paths:
1724117241
schema:
1724217242
$ref: '#/components/schemas/APIErrorResponse'
1724317243
description: Forbidden
17244+
'404':
17245+
content:
17246+
application/json:
17247+
schema:
17248+
$ref: '#/components/schemas/APIErrorResponse'
17249+
description: SLO Not Found
1724417250
summary: Create an SLO correction
1724517251
tags:
1724617252
- Service Level Objective Corrections

tests/v1/features/service_level_objective_corrections.feature

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ Feature: Service Level Objective Corrections
2828
When the request is sent
2929
Then the response status is 200 OK
3030

31+
@skip
32+
Scenario: Create an SLO correction returns "SLO Not Found" response
33+
Given operation "CreateSLOCorrection" enabled
34+
And new "CreateSLOCorrection" request
35+
And body with value {"data": {"attributes": {"category": "Scheduled Maintenance", "description": "{{ unique }}", "end": {{ hour_later_ts }}, "slo_id": "sloId", "start": {{ now_ts }}, "timezone": "UTC"}, "type": "correction"}}
36+
When the request is sent
37+
Then the response status is 404 SLO Not Found
38+
3139
@generated @skip
3240
Scenario: Delete an SLO correction returns "Not found" response
3341
Given operation "DeleteSLOCorrection" enabled

0 commit comments

Comments
 (0)