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

Replace oas-validation dependency to run in browser #334

Open
guillegr123 opened this issue Jun 26, 2020 · 1 comment
Open

Replace oas-validation dependency to run in browser #334

guillegr123 opened this issue Jun 26, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@guillegr123
Copy link

It would be possible to remove oas-validator and use a different tool for OpenAPI schema validation? Currently oas-validator depends on better-ajv-errors, which is intended to display messages in the command line, thus requires the NodeJS engine.

It would be nice to use a different library that can be run in the browser. This package can be used in a client-side app by only removing the oas-validation dependency.

@Alan-Cha
Copy link
Collaborator

@guillegr123 This is an interesting point! I would also like to get the opinion from my colleague, @ErikWittern.

In the meantime, do you suppose we replace the validator with another library or expose it so that a user can provide their own validator? If the former, then do you have any suggestions into libraries that would fit the requirements?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants