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

Add type guards for SchemaObject and ReferenceObject #46

Merged
merged 1 commit into from
May 27, 2019

Conversation

bajtos
Copy link
Contributor

@bajtos bajtos commented May 27, 2019

Hello from the LoopBack team 👋 We are happily using openapi3-ts in our project (https://github.com/strongloop/loopback-next), although we had to add few more features ourselves.

In this pull request, I'd like to contribute type guards (see TypeScript docs) we are using to differentiate between SchemaObject and ReferenceObject types.

@pjmolina please review

@pjmolina
Copy link
Contributor

Thank you for the contribution @bajtos
Merging!

@pjmolina pjmolina merged commit 01f9232 into metadevpro:master May 27, 2019
@bajtos bajtos deleted the feat/type-guards branch May 27, 2019 11:37
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.

2 participants