Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for new_schema (0.03 sec)

  1. fastapi/_compat/v2.py

        return new_mapping, new_definitions
    
    
    def _replace_refs(
        *,
        schema: dict[str, Any],
        old_name_to_new_name_map: dict[str, str],
    ) -> dict[str, Any]:
        new_schema = deepcopy(schema)
        for key, value in new_schema.items():
            if key == "$ref":
                value = schema["$ref"]
                if isinstance(value, str):
                    ref_name = schema["$ref"].split("/")[-1]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top