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

Same file multi definitions #68

Merged

Conversation

hipstersmoothie
Copy link
Contributor

When there is sufficiently complicated Schema, bundle was overwritting $ref paths.

I have added 1 extra check in the sort function to fix this. Now if the path from root contains no references to /definitions the paths are ordered alphabetically.

closes #67

@coveralls
Copy link

coveralls commented Jan 30, 2018

Coverage Status

Coverage increased (+0.01%) to 95.251% when pulling 5036cce on hipstersmoothie:same-file-multi-definitions into cc40cb5 on BigstickCarpet:master.

@JamesMessinger
Copy link
Member

Sorry for taking so long to merge this. It looks good. Thanks for catching this issue. And for writing a good test 👍

@JamesMessinger JamesMessinger merged commit 1891b06 into APIDevTools:master Apr 11, 2018
JamesMessinger added a commit that referenced this pull request Jul 11, 2018
…en possible. This work builds on top of PR #68
JamesMessinger added a commit that referenced this pull request Jul 11, 2018
@JamesMessinger
Copy link
Member

I just released version 5.1.0, which includes this PR. Thank you, @hipstersmoothie 🥇 💯

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.

BUNDLE: Ref Re-Mapping Broken
3 participants