json-logging-python
json-logging-python copied to clipboard
connexion 3.x support
Recently upgrading to use connexion 3.0.1, and see a failure.
File "json_logging/framework/connexion/init.py", line 53, in before_request if is_not_match_any_pattern(_current_request.path, exclude_url_patterns): File "python3.10/site-packages/connexion/lifecycle.py", line 243, in getattr return getattr(self._starlette_request, item) AttributeError: 'Request' object has no attribute 'path'
I suspect the change to starlette broke the api slightly for where the path is found. There could be other api issuers here as well.