Skip to content

Commit 824cc24

Browse files
api-clients-generation-pipeline[bot]daniel-m-ddci.datadog-api-spec
authored
Add on-call schedules endpoint (#2486)
* Sanitize api names * Remove hyphen * Fix hyphen * Fix iso time * Fix iso time * Fix iso time * Fix iso time * Regenerate client from commit 7307da21 of spec repo --------- Co-authored-by: Daniel Marin <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent c562fc9 commit 824cc24

File tree

97 files changed

+6642
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+6642
-17
lines changed

.apigentools-info

+4-4
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-10 18:01:30.298822",
8-
"spec_repo_commit": "c0a45137"
7+
"regenerated": "2025-04-11 12:59:09.523606",
8+
"spec_repo_commit": "7307da21"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-10 18:01:30.315459",
13-
"spec_repo_commit": "c0a45137"
12+
"regenerated": "2025-04-11 12:59:09.538843",
13+
"spec_repo_commit": "7307da21"
1414
}
1515
}
1616
}

.generator/conftest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,8 @@ def undo_operations():
337337
def api(context, api_version, specs, name):
338338
"""Return an API instance."""
339339
assert name in {tag["name"].replace(" ", "") for tag in specs[api_version]["tags"]}
340-
context["api_instance"] = {"name": name}
340+
sanitized_name = name.replace("-", "")
341+
context["api_instance"] = {"name": sanitized_name}
341342

342343

343344
@given(parsers.parse('operation "{name}" enabled'))

0 commit comments

Comments
 (0)