We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
examples
1 parent 7c4261e commit 7ebd820Copy full SHA for 7ebd820
aws_lambda_powertools/event_handler/bedrock_agent.py
@@ -403,11 +403,6 @@ def inner(yaml_dict):
403
if isinstance(item, dict) and item.get("type") == "null":
404
anyOf.pop(i)
405
yaml_dict["nullable"] = True
406
- if "examples" in yaml_dict:
407
- examples = yaml_dict["examples"]
408
- del yaml_dict["examples"]
409
- if isinstance(examples, list) and len(examples):
410
- yaml_dict["example"] = examples[0]
411
for value in yaml_dict.values():
412
inner(value)
413
elif isinstance(yaml_dict, list):
0 commit comments