Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kolypto committed Jan 5, 2021
1 parent f4b5e12 commit 5c332fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apiens/via/fastapi/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def operation_parameter_info(name: str, type_: type, op: operation) -> inspect.P
)

# For `Body` parameters, make sure they have `embed=True`.
# That is, don't "unwrap" it and put it at the top level.
# That is, don't "unwrap" its properties into the top level of the body, but keep it as a named field
if isinstance(parameter, fastapi.params.Body):
parameter.embed = True

Expand Down

0 comments on commit 5c332fe

Please sign in to comment.