Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
andreevich96 opened this issue Feb 21, 2023 · 0 comments
Open
1 task

Comments

@andreevich96
Copy link

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()
                
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant