mirror of
https://github.com/correl/openapi-core.git
synced 2024-11-22 03:00:10 +00:00
path finder comment line too long fix
This commit is contained in:
parent
9d252330b7
commit
efc8dc3240
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ class PathFinder(object):
|
|||
def _get_paths_iter(self, full_url_pattern):
|
||||
template_paths = []
|
||||
for path_pattern, path in iteritems(self.spec.paths):
|
||||
# simple path. Return right away since it is always the most concrete
|
||||
# simple path.
|
||||
# Return right away since it is always the most concrete
|
||||
if full_url_pattern.endswith(path_pattern):
|
||||
path_result = TemplateResult(path_pattern, {})
|
||||
yield (path, path_result)
|
||||
|
|
Loading…
Reference in a new issue