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.
1 parent f3761d0 commit 3401fc8Copy full SHA for 3401fc8
lib/idp_common_pkg/idp_common/schema/pydantic_generator.py
@@ -146,7 +146,7 @@ def create_json_schema_validator(
146
def validate_against_json_schema(value: BaseModel) -> BaseModel:
147
"""Validate model data against the original JSON Schema."""
148
# Convert Pydantic model to dict for JSON Schema validation
149
- data = value.model_dump()
+ data = value.model_dump(mode="json")
150
151
try:
152
# Validate against JSON Schema
0 commit comments