autorest icon indicating copy to clipboard operation
autorest copied to clipboard

Suport (non-)nullability of return types

Open olydis opened this issue 9 years ago • 3 comments

  • review the current default behavior of C#'s code gen (it generates primitive return types as nullable, other generators don't)
  • allow x-nullable on responses

olydis avatar Jan 10 '17 17:01 olydis

:+1:

bitsforthought avatar Jan 10 '17 17:01 bitsforthought

Yes this is a must. We can't use this at the moment because of this issue - we would need to make too many code changes.

mieliespoor avatar Jan 11 '17 08:01 mieliespoor

Fixed here https://github.com/Azure/autorest/commit/bc2c58df08ee5ebabe254d99a36eb712f4a33df3

dsgouda avatar Feb 27 '17 18:02 dsgouda