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

Allow ignorePaths to take function or regexp #459

Merged
merged 1 commit into from Nov 15, 2020
Merged

Allow ignorePaths to take function or regexp #459

merged 1 commit into from Nov 15, 2020

Conversation

rgaino
Copy link
Contributor

@rgaino rgaino commented Nov 14, 2020

I have the need of using ignorePaths in a way that a RegEx won't suffice, so I added an option to take a function as well as a RegEx. Thanks for your work with the validator!

Copy link
Owner

@cdimascio cdimascio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rgaino thanks for this. looks good

@cdimascio cdimascio merged commit 9b855d1 into cdimascio:master Nov 15, 2020
@rgaino rgaino deleted the ignorePaths-takes-function branch November 15, 2020 07:57
ex1st pushed a commit to ex1st/express-openapi-validator that referenced this pull request Dec 9, 2020
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.

None yet

2 participants