Skip to content

Incorrect display of method coverage with file upload with body #131

@andreevich96

Description

@andreevich96

I'm submitting a ...

  • bug report

What is the current behavior?

When working with a controllers method to which you can send a file and the meta, swagger coverage reports that the file and the meta is not empty - twice. But I'm definitely sending a non-empty file and meta.
Swagger coverage -
image
Method -
image

There is an exemple of request:

 given()
                .auth()
                .oauth2(accessToken)
                .multiPart("file", new File(pathName)), "application/vnd.ms-excel")
                .multiPart("meta", meta, "application/json")
                .when().post("v1/method-name/xls")).then()
                

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions