Skip to content

Commit 5b7544a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent aea6810 commit 5b7544a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mitmproxy2swagger/mitmproxy2swagger.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,9 @@ def main(override_args: Optional[Sequence[str]] = None):
279279
}
280280
}
281281
if args.examples:
282-
content_to_set["content"][content_type][
283-
"example"
284-
] = swagger_util.limit_example_size(body_val)
282+
content_to_set["content"][content_type]["example"] = (
283+
swagger_util.limit_example_size(body_val)
284+
)
285285
set_key_if_not_exists(
286286
swagger["paths"][path_template_to_set][method],
287287
"requestBody",

0 commit comments

Comments
 (0)