The signature of the method schema2parameters in openapi.py is the following:
def schema2parameters(
self,
schema,
*,
location,
name: str = "body",
required: bool = False,
description: str | None = None,
):
...
I would say body is the default value for location and not name.