Skip to content

Conversation

@joeljons
Copy link
Contributor

Create new names by adding _{number} to new ref name if a conflict would occur.

@frantuma frantuma merged commit 6be4df3 into swagger-api:master Nov 22, 2017
@gracekarina
Copy link
Contributor

@joeljons Hi, is there a specific case for this to be done?

@joeljons
Copy link
Contributor Author

joeljons commented Feb 8, 2018

In the case of a $ref:d spec contains the same definition name (with different content) as an already existing definition. Also if multipe $ref:d contains the same definition names (with different content).

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.

3 participants