Skip to content

Commit

Permalink
fix truncated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mottil committed Jun 9, 2022
1 parent 2e0face commit e873422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connexion/operations/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def _get_body_argument(self, body, arguments, has_kwargs, sanitize):
if len(arguments) <= 0 and not has_kwargs:
return {}

# get the deprecated name from the body-schema for legacy connexion co
# get the deprecated name from the body-schema for legacy connexion compat
x_body_name = sanitize(self.body_schema.get('x-body-name'))
if x_body_name:
warnings.warn('x-body-name within the requestBody schema will be deprecated in the '
Expand Down

0 comments on commit e873422

Please sign in to comment.