|
|
|
@ -262,7 +262,7 @@ def _replace_refs( |
|
|
|
new_schema = deepcopy(schema) |
|
|
|
for key, value in new_schema.items(): |
|
|
|
if key == "$ref": |
|
|
|
#ref_name = schema["$ref"].split("/")[-1] |
|
|
|
# ref_name = schema["$ref"].split("/")[-1] |
|
|
|
ref_name = schema["$ref"] |
|
|
|
if isinstance(ref_value, str): |
|
|
|
# Normal case |
|
|
|
|