You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like this happens when you have only controllers that accept/return arrays of files. You can "fix" it if you create another controller action that accepts a single IFormFile as a parameter. That way the NSwag will create the FileParameter interface correctly and it will work for other things also.
I have literally added action of this signature in the code:
public async Task UploadFile(IFormFile file)
{
//...whatever since this is the dummy method
}
I know it will not be acceptable for purists, but I don't care.
I saw #2973 and its fixing PR #2972 . But I still has this issue.
My nswag cli is NPM/Node and the nswag version is
13.10.8
:But I still facing this issue. How should I get the fix?
The text was updated successfully, but these errors were encountered: