[Bug]: PathNotFound exception if templated path parameter contains "-" character #672
Labels
area/templating
Indicates an issue on templating area
kind/bug/confirmed
kind/bug
Indicates an issue
Actual Behavior
when trying to validate my request, I encountered an error:
..\venv\Lib\site-packages\openapi_core\templating\paths\finders.py:35: PathNotFound
seems to be a problem with the
search
function fromopenapi_core.templating.util
Expected Behavior
print(search(path_pattern_fail, name)) # <Result () {'user-id': '1647222638'}>
Steps to Reproduce
OpenAPI Core Version
0.18.1
OpenAPI Core Integration
Requests
Affected Area(s)
No response
References
No response
Anything else we need to know?
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: