def METHOD_NAME(
    consumes,
    assert_parameters,
    make_openapi_2_schema,
    user_jsonschema_with_file,
    open_api_2_user_form_with_file_parameters,
):
    # Multipart forms are represented as a list of "formData" parameters
    schema = make_openapi_2_schema(consumes, open_api_2_user_form_with_file_parameters)
    assert_parameters(
        schema,
        PayloadAlternatives(
            [
                # Is represented with a "composite" body
                OpenAPI20CompositeBody(
                    definition=[
                        OpenAPI20Parameter(parameter) for parameter in open_api_2_user_form_with_file_parameters
                    ],
                    media_type="multipart/form-data",
                )
            ]
        ),
        [user_jsonschema_with_file],
    )