Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated referenced definitions #1422

Open
alejandro-campelo opened this issue Aug 26, 2020 · 1 comment
Open

Duplicated referenced definitions #1422

alejandro-campelo opened this issue Aug 26, 2020 · 1 comment
Assignees

Comments

@alejandro-campelo
Copy link

alejandro-campelo commented Aug 26, 2020

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.

@AmateurECE
Copy link
Contributor

@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 08a7630 with my OpenAPI 3.0.1 specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants