Skip to content

[C#] fix multi-file compile error#10803

Merged
wing328 merged 2 commits intoOpenAPITools:masterfrom
malesh:fix-10802-csharp-multifile
Nov 11, 2021
Merged

[C#] fix multi-file compile error#10803
wing328 merged 2 commits intoOpenAPITools:masterfrom
malesh:fix-10802-csharp-multifile

Conversation

@malesh
Copy link
Copy Markdown
Contributor

@malesh malesh commented Nov 7, 2021

Generated csharp-netcore client fails to compile for a multi-file spec (see issue #10802); fixed by updating template to handle an array of files.

Also added a sample that reproduces the issue; this was done in the first commit so reviewing commit-by-commit will show the effect the fix had on the generated client.

Closes #10802

CC: @mandrean, @frankyjuang, @shibayan, @Blackclaws, @lucamazzanti

@wing328
Copy link
Copy Markdown
Member

wing328 commented Nov 11, 2021

@malesh thanks for the PR. I was able to repeat the issue using the spec you provided and confirmed the fix (no compilation issue).

@wing328 wing328 merged commit b0b09b0 into OpenAPITools:master Nov 11, 2021
@wing328 wing328 changed the title Fix #10802 csharp client multifile compile error [C#] fix multi-file compile error Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG][csharp] client fails to compile for multi-file upload

2 participants