.generator/src/generator/openapi.py in datadog_api_client-2.9.0 vs .generator/src/generator/openapi.py in datadog_api_client-2.10.0
- old
+ new
@@ -486,8 +486,9 @@
for content in response.get("content", {}).values():
if "schema" in content:
break
if content is None:
raise RuntimeError("Default response not found")
+ content = content["schema"]
for attr in attribute_path.split("."):
- content = content["schema"]["properties"][attr]
+ content = content["properties"][attr]
return get_name(content.get("items"))