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 2c4a043 commit cab7f91Copy full SHA for cab7f91
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