We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af6f24a commit e576212Copy full SHA for e576212
openapi_core/contrib/django/requests.py
@@ -20,7 +20,9 @@
20
# is exported, after which it matches ">" and everything until a "/".
21
# A check is made to ensure that "/" is not in an excluded character set such
22
# as may be found with Django REST Framwork's default value pattern, "[^/.]+".
23
-PATH_PARAMETER_PATTERN = r"(?:[^/]*?)<(?:(?:.*?:))*?(\w+)>(?:(?:[^/]*?\[\^[^/]*/)?[^/]*)"
+PATH_PARAMETER_PATTERN = (
24
+ r"(?:[^/]*?)<(?:(?:.*?:))*?(\w+)>(?:(?:[^/]*?\[\^[^/]*/)?[^/]*)"
25
+)
26
27
28
class DjangoOpenAPIRequest:
0 commit comments