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

[Quick Fix : Performance] Lazy load Open Api 2/3 parsers #76

Open
manwithsteelnerves opened this issue May 4, 2021 · 1 comment
Open

Comments

@manwithsteelnerves
Copy link

Please lazy load parsers import based on the submitted schema at run time.

const oai3 = require('./parsers/open-api3');

Currently i'm using for Openapi v2 but v3 parsers are getting loaded.
Screenshot 2021-05-04 at 5 56 00 PM

@kobik
Copy link
Collaborator

kobik commented May 12, 2021

hi @manwithsteelnerves , thanks for reporting this issue.

we'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants