Open alejandro-campelo opened 4 years ago
@alejandro-campelo are you still experiencing this issue? Or has the work in #1518 resolved your issue? I think I might be experiencing this issue at 08a76302e2501b3465b4febdafca733262a802d7 with my OpenAPI 3.0.1 specification.
I have the following swagger files with referenced definitions:
File1.txt
File2.txt
When reading the parsed model of the first file using version
1.0.51
I expected to find the definitionsFile1_parent_definition
,File1_referenced_definition
andFile2_referenced_definition
, but there is also aFile1_referenced_definition_2
created by the reference found in the second file that represents the same asFile1_referenced_definition
. Since this is a reference to an existing definition, I expected it to point toFile1_referenced_definition
instead of creating a duplicate.