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

Fix for #42 Paths are sometimes matched incorrectly making specs fail #43

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Conversation

jandouwebeekman
Copy link

Issue #42

now lib/skooma/objects/openapi/keywords/paths.rb is changed heavily to make sure the path_regex that is used to match a request to an endpoint in the specification uses the patterns of the path parameters

this pull request only uses the regex patterns that can be given for path parameters but it does not use the fact that a parameter can have a type like an integer or have a format or enum
despite this, it is at least something

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.

1 participant