Skip to content

Duplicated referenced definitions #1422

@alejandro-campelo

Description

@alejandro-campelo

I have the following swagger files with referenced definitions:

When reading the parsed model of the first file using version 1.0.51 I expected to find the definitions File1_parent_definition, File1_referenced_definition and File2_referenced_definition, but there is also a File1_referenced_definition_2 created by the reference found in the second file that represents the same as File1_referenced_definition. Since this is a reference to an existing definition, I expected it to point to File1_referenced_definition instead of creating a duplicate.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions