We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0e9850e + 5bb9ea8 commit c5f1606Copy full SHA for c5f1606
1 file changed
openapi_core/templating/util.py
@@ -10,12 +10,16 @@ def _handle_field(self, field):
10
path_parameter_field)
11
12
13
-def parse_path_parameter(text):
14
- return text
+class PathParameter(object):
15
+ name = "PathParameter"
16
+ pattern = r"[^\/]+"
17
-parse_path_parameter.pattern = r"[^\/]+"
18
-parse_path_parameter.name = "PathParameter"
+ def __call__(self, text):
19
+ return text
20
+
21
22
+parse_path_parameter = PathParameter()
23
24
25
def search(path_pattern, full_url_pattern):
0 commit comments