Skip to content

Write full objects in components / Fix components missing issue when V2 document is parsed #128

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

Merged
merged 6 commits into from
Dec 12, 2017

Conversation

PerthCharern
Copy link
Contributor

Fixes #120

  • Writing anything in Components or Definitions/Parameters/SecuritySchemes/etc will always yield full objects, regardless of whether Reference exists.

  • Unit tests for all the Referenceable objects. Tests verify that both ways of writing an object (without Reference or with Reference) work.

  • Ensure that Components is not overwritten in OpenApiV2Deserializer.

@PerthCharern
Copy link
Contributor Author

Please feel free to ignore all styling issues (extra newlines, indentation) in this PR. The PR for #16 is coming up and will fix all those issues.

@PerthCharern PerthCharern merged commit 95c4b54 into master Dec 12, 2017
@PerthCharern PerthCharern deleted the PerthCharern/WriteFullObjectsInComponents branch December 12, 2017 23:28
@xuzhg
Copy link
Contributor

xuzhg commented Dec 16, 2017

@PerthCharern please take a look at : #157

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