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

Fix issue #1501: External schema name is correctly constructed #1502

Conversation

BabisK
Copy link
Contributor

@BabisK BabisK commented Dec 2, 2020

Calculation of schema name in external ref processor takes into account that more than 2 schemas may have the same name.
The counting of schemas starts from 1 instead of 2.

Note: the warn level of the logger in line 62 seemed too high for a normal operation so I lowered it. Let me know if you think it was warn for an abnormal operation.

Closes #1501

@BabisK BabisK force-pushed the bug/1501-external-schema-name-calculation-fixed branch from 59f0e27 to ccff482 Compare December 3, 2020 00:35
Copy link
Contributor

@gracekarina gracekarina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @BabisK.

@gracekarina gracekarina merged commit 28bfd98 into swagger-api:master Dec 3, 2020
@gracekarina gracekarina self-assigned this Dec 3, 2020
@gracekarina gracekarina added this to the M11 milestone Dec 3, 2020
@BabisK BabisK deleted the bug/1501-external-schema-name-calculation-fixed branch December 9, 2020 11:32
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

Successfully merging this pull request may close these issues.

Component schemas with same name are ignored after the second one
2 participants