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

Invalid query validation when using oneOf #852

Open
scholz-timo opened this issue Jan 15, 2023 · 0 comments
Open

Invalid query validation when using oneOf #852

scholz-timo opened this issue Jan 15, 2023 · 0 comments

Comments

@scholz-timo
Copy link

when you add an query parameter that is either an array of strings or a single string it will try to use JSON.parse to parse to query param, whilst it is already an string or an array of strings.

Used version: express-openapi: 12.1.0

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