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

Expose validator for use in apps that don't use Express? #916

Open
jon-wyatt-eco opened this issue May 20, 2024 · 0 comments
Open

Expose validator for use in apps that don't use Express? #916

jon-wyatt-eco opened this issue May 20, 2024 · 0 comments

Comments

@jon-wyatt-eco
Copy link

Is your feature request related to a problem? Please describe.
Hi, this looks awesome and one of the few (only?) validators working with OpenAPI 3.1 specs however I was hoping to use this in an AWS Lambda / API Gateway setup where I don't currently use Express

Describe the solution you'd like
A way to import just the validator not in the form of Express middleware either as separate package or named export from this one

Describe alternatives you've considered
Looks like we might be able to hack this to work by just passing Express middleware style args in to get the validation results but that would still result in including Express as a dependency and probably lot's of hassle keeping Typescript happy!

Additional context

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

No branches or pull requests

1 participant