Skip to content

Commit

Permalink
Remove sanitization of body properties (#1469)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbeSneyders committed Feb 21, 2022
1 parent 67d769d commit e163e9f
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 @@ -286,7 +286,7 @@ def _get_body_argument(self, body, arguments, has_kwargs, sanitize):

# now determine the actual value for the body (whether it came in or is default)
default_body = self.body_schema.get('default', {})
body_props = {sanitize(k): {"schema": v} for k, v
body_props = {k: {"schema": v} for k, v
in self.body_schema.get("properties", {}).items()}

# by OpenAPI specification `additionalProperties` defaults to `true`
Expand Down

0 comments on commit e163e9f

Please sign in to comment.