-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Unable to change arrayType to List or IList #255
Comments
@eliyammine thanks for taking the time to report this Let me see what I can do By the way, do you have a support key? |
@eliyammine one quick thing I noticed in your |
Hi, My support key is aurkbqh. I tried with codeGeneratorSettings both with IList and List and no luck |
You're right @eliyammine. It seems that in the Refit interface, arrays are generated as I'll see what I can do... |
@all-contributors please add @eliyammine for bugs |
I've put up a pull request to add @eliyammine! 🎉 |
@eliyammine I have a fix for I will try resolve all the other |
@eliyammine I published a pre-release version to NuGet dotnet tool install --global Refitter --version 0.8.7.40-preview that contains a fix for this specific problem. I bumped the target framework to .NET 8.0 since it is now the new recommended LTS version and because .NET 6.0 is going out of support soon |
Thank you for the quick fix! Worked perfectly |
Describe the bug
When putting arrayType to 'System.Collections.Generic.List' or 'System.Collections.Generic.IList', it stays as ICollection.
OpenAPI Specifications
Here is an example of the one that is failing:
Additional context
Ran using: dotnet refitter --skip-validation --settings-file openapi.json
refitterconfig looks like this:
The text was updated successfully, but these errors were encountered: