Skip to content

Commit

Permalink
Merge pull request #25 from TestMergeBot/11.0-automerge-5d60e5f3f8a7e…
Browse files Browse the repository at this point in the history
…f87292343ea3cb1c8031fd3ae04

Auto merge TestMergeBot:11.0-automerge-5d60e5f3f8a7ef87292343ea3cb1c8031fd3ae04-11.0
  • Loading branch information
itpp-bot committed Aug 21, 2019
2 parents 3a2defa + d47e6ea commit 9c0eb2e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions openapi/models/openapi_access.py
Expand Up @@ -384,11 +384,8 @@ def get_OAS_paths_part(self):
"responses": RESPONSES
}

paths_object = dict((k, v) for k, v in paths_object.items() if v)
for path_item_key, path_item_value in paths_object.items():
# remove empty paths
if not path_item_value:
del paths_object[path_item_key]
continue

for path_method in path_item_value.values():
# add tag
Expand Down

0 comments on commit 9c0eb2e

Please sign in to comment.