Skip to content

Commit 906c7b6

Browse files
committed
chore: increase depth to 50
1 parent c3aa01c commit 906c7b6

File tree

2 files changed

+558
-474
lines changed

2 files changed

+558
-474
lines changed

src/fastmcp/utilities/json_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def find_refs_in_value(value: Any, parent_def: str) -> bool:
4545
return False
4646

4747

48-
def dereference_json_schema(schema: dict, max_depth: int = 5) -> dict:
48+
def dereference_json_schema(schema: dict, max_depth: int = 50) -> dict:
4949
"""
5050
Dereference a JSON schema by resolving $ref references while preserving $defs only when corner cases occur.
5151

0 commit comments

Comments
 (0)