Bug report [Code generation Swagger datasource]

Hi! I have done some bugreports now, is the forum best for reporting bugs or should i do it somewhere else? Well I´ll do this one here.

This is a bug in Data source Swagger (maybe other too) when the code is generated from the requests. I have a request that takes a parameter called "internal" and as you may know "internal" is predefined keyword in C#. This will cause alot of issuse.

What a suggest you to do if possible, check if the word is a predefined word in C# when you are generating the methods and if it is a predefined word then you put a "_" in front if it or after it. This will then be no more problem.

Thanks! We will provide fix for this before the end of this week or early next week!

1 Like