Skip to content

Commit 65c48bd

Browse files
api-clients-generation-pipeline[bot]daniel-m-ddci.datadog-api-spec
authored
Add on-call schedules endpoint (#2783)
* Allow hyphen * Fix hyphen * 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 aa94b13 commit 65c48bd

File tree

92 files changed

+13723
-9
lines changed

Some content is hidden

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

92 files changed

+13723
-9
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:22.406444",
8-
"spec_repo_commit": "c0a45137"
7+
"regenerated": "2025-04-11 12:59:00.055283",
8+
"spec_repo_commit": "7307da21"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-04-10 18:01:22.422014",
13-
"spec_repo_commit": "c0a45137"
12+
"regenerated": "2025-04-11 12:59:00.071998",
13+
"spec_repo_commit": "7307da21"
1414
}
1515
}
1616
}

.generator/conftest.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ def operation_specs(specs):
294294
def api(context, api_version, specs, name):
295295
"""Return an API instance."""
296296
assert name in {tag["name"].replace(" ", "") for tag in specs[api_version]["tags"]}
297-
context["api_instance"] = {"name": name}
297+
api_name = name.replace("-", "")
298+
context["api_instance"] = {"name": api_name}
298299

299300

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

0 commit comments

Comments
 (0)